Solved

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

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

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

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‚Ķ
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
The viewer will learn how to synchronize PHP projects with a remote server in NetBeans IDE 8.0 for Windows.
The viewer will learn how to use and create new code templates in NetBeans IDE 8.0 for Windows.

705 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

15 Experts available now in Live!

Get 1:1 Help Now