Click here to Skip to main content
15,902,492 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionHow to tell when an application is being dragged around screen? Pin
KellyR18-Dec-08 5:33
KellyR18-Dec-08 5:33 
Hi,

This app is written in C++ without MFC.

My question is this:

Let's say my app is not full screen, and a user clicks the top bar of the app and drags it around the screen. Is there a windows message that gets sent back to my main app's message pump to tell me when the window is moving? like WM_<somethingorother> etc? I have been looking over MSDN and other documentation and I have not been able to find anything like this but maybe I am missing something.

If it does not send a message, is there any other way that I can tell when the app is being dragged around?

Thanks!

KR

AnswerRe: How to tell when an application is being dragged around screen? Pin
Randor 18-Dec-08 5:47
professional Randor 18-Dec-08 5:47 
GeneralRe: How to tell when an application is being dragged around screen? Pin
KellyR18-Dec-08 7:09
KellyR18-Dec-08 7:09 
QuestionError when adding files to C++ Pin
Cozmo2318-Dec-08 4:54
Cozmo2318-Dec-08 4:54 
AnswerRe: Error when adding files to C++ Pin
Jijo.Raj18-Dec-08 4:58
Jijo.Raj18-Dec-08 4:58 
AnswerRe: Error when adding files to C++ Pin
Randor 18-Dec-08 5:09
professional Randor 18-Dec-08 5:09 
AnswerRe: Error when adding files to C++ Pin
timojk18-Oct-09 20:44
timojk18-Oct-09 20:44 
AnswerRe: Error when adding files to C++ Pin
STDF29-Jan-10 4:22
STDF29-Jan-10 4:22 
QuestionTree Control Icons/Image List? Pin
Software200718-Dec-08 3:29
Software200718-Dec-08 3:29 
AnswerRe: Tree Control Icons/Image List? Pin
Jonathan Davies18-Dec-08 4:09
Jonathan Davies18-Dec-08 4:09 
QuestionRadian angle to Quaternion Pin
shaibee18-Dec-08 3:28
shaibee18-Dec-08 3:28 
AnswerRe: Radian angle to Quaternion Pin
Cedric Moonen18-Dec-08 3:46
Cedric Moonen18-Dec-08 3:46 
GeneralRe: Radian angle to Quaternion Pin
shaibee18-Dec-08 3:53
shaibee18-Dec-08 3:53 
GeneralRe: Radian angle to Quaternion Pin
Randor 18-Dec-08 4:37
professional Randor 18-Dec-08 4:37 
AnswerRe: Radian angle to Quaternion Pin
El Corazon18-Dec-08 6:38
El Corazon18-Dec-08 6:38 
AnswerRe: Radian angle to Quaternion Pin
Stuart Dootson18-Dec-08 7:52
professionalStuart Dootson18-Dec-08 7:52 
QuestionJust part of the 32 bit color depth picture is displayed when my program runs in XP while in win server it is fine Pin
fire storm18-Dec-08 2:58
fire storm18-Dec-08 2:58 
AnswerRe: Just part of the 32 bit color depth picture is displayed when my program runs in XP while in win server it is fine Pin
Randor 18-Dec-08 3:27
professional Randor 18-Dec-08 3:27 
AnswerRe: Just part of the 32 bit color depth picture is displayed when my program runs in XP while in win server it is fine Pin
Hamid_RT18-Dec-08 5:46
Hamid_RT18-Dec-08 5:46 
GeneralRe: Just part of the 32 bit color depth picture is displayed when my program runs in XP while in win server it is fine Pin
fire storm20-Dec-08 20:42
fire storm20-Dec-08 20:42 
QuestionAttach child toolbar to parent toolbar Pin
Pryabu18-Dec-08 2:25
Pryabu18-Dec-08 2:25 
AnswerRe: Attach child toolbar to parent toolbar Pin
Maximilien18-Dec-08 2:57
Maximilien18-Dec-08 2:57 
AnswerRe: Attach child toolbar to parent toolbar Pin
Cedric Moonen18-Dec-08 2:57
Cedric Moonen18-Dec-08 2:57 
GeneralRe: Attach child toolbar to parent toolbar Pin
Pryabu18-Dec-08 18:11
Pryabu18-Dec-08 18:11 
AnswerRe: Attach child toolbar to parent toolbar Pin
Hamid_RT18-Dec-08 5:32
Hamid_RT18-Dec-08 5:32 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.