Click here to Skip to main content
15,921,530 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Dynamic controls Pin
Yawar Maajed1-Jul-04 12:22
Yawar Maajed1-Jul-04 12:22 
GeneralRe: Dynamic controls Pin
richiebabes1-Jul-04 12:30
richiebabes1-Jul-04 12:30 
GeneralRe: Dynamic controls Pin
Yawar Maajed1-Jul-04 13:11
Yawar Maajed1-Jul-04 13:11 
GeneralWindow title bar - detecting drag end Pin
Anonymous1-Jul-04 11:39
Anonymous1-Jul-04 11:39 
GeneralRe: Window title bar - detecting drag end Pin
Anonymous1-Jul-04 11:41
Anonymous1-Jul-04 11:41 
GeneralRe: Window title bar - detecting drag end Pin
Yawar Maajed1-Jul-04 12:19
Yawar Maajed1-Jul-04 12:19 
GeneralRe: Window title bar - detecting drag end Pin
Yawar Maajed1-Jul-04 12:21
Yawar Maajed1-Jul-04 12:21 
GeneralRe: Window title bar - detecting drag end Pin
Ravi Bhavnani1-Jul-04 13:42
professionalRavi Bhavnani1-Jul-04 13:42 
Another way to detect the end of a move by dragging the caption bar is to simply handle WM_MOVE and check if the mouse is over the window's caption bar. You can do this by calling GetCursorPos() and checking if the point lies within the caption bar. GetWindowRect() and GetSystemMetrics() can help you in your computation.

/ravi

My new year's resolution: 2048 x 1536
Home | Articles | Freeware | Music
ravib@ravib.com

QuestionHow do you get the path to the WIndows desktop? Pin
Terry O'Nolley1-Jul-04 11:02
Terry O'Nolley1-Jul-04 11:02 
AnswerRe: How do you get the path to the WIndows desktop? Pin
Yawar Maajed1-Jul-04 11:19
Yawar Maajed1-Jul-04 11:19 
GeneralRe: How do you get the path to the WIndows desktop? Pin
Terry O'Nolley1-Jul-04 12:07
Terry O'Nolley1-Jul-04 12:07 
AnswerRe: How do you get the path to the WIndows desktop? Pin
palbano1-Jul-04 11:20
palbano1-Jul-04 11:20 
QuestionHow to write a program to auto-fill an HTML page? Pin
Anonymous1-Jul-04 10:42
Anonymous1-Jul-04 10:42 
AnswerRe: How to write a program to auto-fill an HTML page? Pin
Anders Molin1-Jul-04 13:51
professionalAnders Molin1-Jul-04 13:51 
GeneralWindows Hook Pin
Nick Parker1-Jul-04 10:21
protectorNick Parker1-Jul-04 10:21 
GeneralRe: Windows Hook Pin
palbano1-Jul-04 11:15
palbano1-Jul-04 11:15 
GeneralRe: Windows Hook Pin
Antti Keskinen1-Jul-04 11:23
Antti Keskinen1-Jul-04 11:23 
GeneralRe: Windows Hook Pin
Jeremy Falcon1-Jul-04 13:07
professionalJeremy Falcon1-Jul-04 13:07 
QuestionHow to program a toolbar for IE? Pin
Anonymous1-Jul-04 10:06
Anonymous1-Jul-04 10:06 
AnswerRe: How to program a toolbar for IE? Pin
Antti Keskinen1-Jul-04 10:27
Antti Keskinen1-Jul-04 10:27 
GeneralDesign dialog for various resolutions without switching to that resolution Pin
boxmonkey1-Jul-04 9:44
boxmonkey1-Jul-04 9:44 
GeneralRe: Design dialog for various resolutions without switching to that resolution Pin
Johan Rosengren1-Jul-04 9:51
Johan Rosengren1-Jul-04 9:51 
GeneralTrap auth failure in webbrowser ctrl Pin
Ravi Bhavnani1-Jul-04 9:11
professionalRavi Bhavnani1-Jul-04 9:11 
GeneralRe: Trap auth failure in webbrowser ctrl Pin
Ravi Bhavnani1-Jul-04 10:25
professionalRavi Bhavnani1-Jul-04 10:25 
GeneralSolved! Pin
Ravi Bhavnani1-Jul-04 11:46
professionalRavi Bhavnani1-Jul-04 11:46 

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.