Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

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

Posted on 2008-06-10
6
Medium Priority
?
536 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

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

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

With most software applications trying to cater to multiple user needs nowadays, the focus is to make them as configurable as possible. For e.g., when creating Silverlight applications which will connect to WCF services, the service end point usuall…
Jaspersoft Studio is a plugin for Eclipse that lets you create reports from a datasource.  In this article, we'll go over creating a report from a default template and setting up a datasource that connects to your database.
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…

926 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