|
-
Nov 4th, 2004, 04:30 PM
#1
Thread Starter
PowerPoster
Does WindowLong change during runtime?
The subject says it all.
Assume I am not ever calling SetWindowLong()
So I just leave the window and its properties alone.
Will the Long ever change???
See, I know before you can update a window's style, you have to get the current style through GetWindowLong, add or remove style's from it, then apply the new style through SetWindowLong.
I want to GetWindowLong once, and then set it whenever needed, could be once, could be a thousand times...
But, my thought is maybe the WindowLong is internally being changed now and then, so I may cause some unstability by doing what I wish to do.
See, I need to change a window's settings from a standard overlapped window, to a blank empty window (no settings cept visible).
Generally a window which goes from Full-Screen to Windowed mode and sets its style accordingly.
FullScreen Mode - WS_VISIBLE should be only style.
Windowed Mode - Anything really. At least an overlapped window.
"From what was there, and was meant to be, but not of that was faded away." - - Steve Damm
"The polar opposite of nothingness is existance. When existance calls apon nothingness it shall return to nothingness." - - Steve Damm
"When you do things right, people won't be sure if you did anything at all." - - God from Futurama
-
Nov 4th, 2004, 08:57 PM
#2
Software Eng.
The style doesn't change unless you directly/indirectly change it.
-
Nov 5th, 2004, 05:23 AM
#3
ShowWindow can change a few styles, like WS_VISIBLE, WS_MAXIMIZED and WS_MINIMIZED. ShowWindow is automatically called by the minimize, maximize and restore actions of the window frame (system menu and buttons at the top right). This is, to my knowledge, the only way the window style can change without explicit interference by the programmer.
All the buzzt
 CornedBee
"Writing specifications is like writing a novel. Writing code is like writing poetry."
- Anonymous, published by Raymond Chen
Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|