|
-
December 6th, 2010, 05:02 AM
#1
SetWindowPos problem.
Hi all,
I'm using SetWindowPos() to resize my dialog size according to the program state.
(A state can be received at any point during the program execution.)
My problem is that the dialog size gets overriden by windows when the following occurs.
1. The user clicks on the dialog title and hold the left button pressed to reposition the window.
2. the program receive an event and the dialog size needs to be resized so a call to SetWindowPos is made (At this point the dialog size looks correct)
3. The user releases the mouse button and the dialog is resized to the previews size!
Can anyone please help me to overcome this problem?
Many thanks!!
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
|