Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

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

Posted on 2008-06-10
6
Medium Priority
?
525 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Learn how to optimize MySQL for your business need

With the increasing importance of apps & networks in both business & personal interconnections, perfor. has become one of the key metrics of successful communication. This ebook is a hands-on business-case-driven guide to understanding MySQL query parameter tuning & database perf

Question has a verified solution.

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

Introduction: The undo support, implementing a stack. Continuing from the eigth article about sudoku.   We need a mechanism to keep track of the digits entered so as to implement an undo mechanism.  This should be a ‘Last In First Out’ collec…
Introduction: Dialogs (2) modeless dialog and a worker thread.  Handling data shared between threads.  Recursive functions. Continuing from the tenth article about sudoku.   Last article we worked with a modal dialog to help maintain informat…
The viewer will learn how to synchronize PHP projects with a remote server in NetBeans IDE 8.0 for Windows.
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…

688 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