|
forums.silverfrost.com Welcome to the Silverfrost forums
|
View previous topic :: View next topic |
Author |
Message |
John-Silver
Joined: 30 Jul 2013 Posts: 1520 Location: Aerospace Valley
|
Posted: Sun Mar 15, 2015 1:44 pm Post subject: Using the Damned 'Search' Facility |
|
|
Am I going crazy or is the search not working as it did previously ?
I've been trying to find Eddie's post about " When is a handle not a handle? "
(Eddie, do you know where it is by any chance ?)
which I've seen somewhere before, but when I put that phrase (without quotes) and Eddie's username into the relevant boxes then nothing at all comes up !
Even just putting the author name as his user produces no results !!!
Also, what's the significance of the flashing icons on the left hand side when a search completes ?
I just don't get it at all. |
|
Back to top |
|
|
LitusSaxonicum
Joined: 23 Aug 2005 Posts: 2391 Location: Yateley, Hants, UK
|
Posted: Sun Mar 15, 2015 3:32 pm Post subject: |
|
|
Well I can't find it anywhere either, but I did when I mentioned it.
At the time I was puzzling over the two kinds of handles. I seem to remember being on the verge of understanding.
1. A Windows handle
2. A Clearwin+ handle
A Windows handle is given back to the program by windows every time a window (obviously) or any single control in a window is created. In early Windows versions these were called resources, and they were strictly rationed, and Windows would crash if it ran out! This is the handle that you get given with %lc, %lw or %hw.
Clearwin+ is a wrapper for some of the more complex aspects of the Windows GUI, andmost of the time it shields the Fortran programmer from some of the complexities such as handles.
Now, just as every window and control needs an identifying number (handle) so do the complicated things created by Clearwin+ from Windows primitives. The originators could have done the same as Windows does, and returned a handle every time a %gr was invoked, but no, they want the programmer to specify it - that makes it, by analogy, like a Fortran i/o unit number!
Clearwin+ doesn't need the handle (of either type) every operation: you use the Clearwin+ handle to set or reset the current graphics object, just like most of the time Clearwin+ hides the complexities of Windows handles and positioning of controls. If you only ever use one %gr object you can forget about it. |
|
Back to top |
|
|
John-Silver
Joined: 30 Jul 2013 Posts: 1520 Location: Aerospace Valley
|
Posted: Sun Mar 15, 2015 9:28 pm Post subject: |
|
|
Thanks Eddie, I'll take another look for your original post, thanks for the xtra info.
Still bemused by the 'Search' system though, I'm sure it wasn't like it is now before.
Try just searching for yourself as 'author' box (nothing in top box), and see if you only get posts by yourself ! I disn't. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|