Solved

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

Posted on 2008-06-10
6
488 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

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…
For most people, the WrapPanel seems like a magic when they switch from WinForms to WPF. Most of us will think that the code that is used to write a control like that would be difficult. However, most of the work is done by the WPF engine, and the W…
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…

863 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now