Solved

WM_EXITSIZEMOVE is received immediately after trying to resize the window in VC++ application

Posted on 2008-06-10
6
493 Views
Last Modified: 2013-12-14
Hi,
I have an application on XP.  After application started,  the window can be resized by dragging right border of window.  However,  after CDialogBar is created,  the window can not be resized.

I traced the message via Spy++,  it seems a message "WM_EXITSIZEMOVE" is sent to application right after I started moving right border of window.

The strange thing is, when I remotely login on the Desktop, and start the application, create CDialogBar, the window resizing works fine.  There must be something missed which caused it. But I have no ideas on this.

Please help!
0
Comment
Question by:ypy1632008
  • 2
6 Comments
 
LVL 19

Expert Comment

by:alb66
ID: 21757999
Can you post some code snippet?
0
 

Accepted Solution

by:
ypy1632008 earned 0 total points
ID: 21774093
Hi, Alb66,

I've figured it out. The problem was due to a call to PostMessage(WM_LBUTTONUP).  When I starting Resizing the window, immediately received this message and stopped Resizing.  I got it fixed.

Thanks so much!
0
 

Author Comment

by:ypy1632008
ID: 21774215
Sorry, I didn't mean to request 250 points. It was an accident!  Please ignore it.

0

Featured Post

Are your AD admin tools letting you down?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
post4 challenge 28 100
noX challenge 17 116
Annoying "thing" blocks my view 4 100
Updating statistics with error notification email in SQL server 4 95
Introduction: Hints for the grid button.  Nested classes, templated collections.  Squash that darned bug! Continuing from the sixth article about sudoku.   Open the project in visual studio. First we will finish with the SUD_SETVALUE messa…
Update (December 2011): Since this article was published, the things have changed for good for Android native developers. The Sequoyah Project (http://www.eclipse.org/sequoyah/) automates most of the tasks discussed in this article. You can even fin…
The viewer will learn how to use and create keystrokes in Netbeans IDE 8.0 for Windows.
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question