Click here to Skip to main content
15,885,141 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionSimulate pressing of tab key ??? Pin
Raul Simcic6-Jan-05 6:06
Raul Simcic6-Jan-05 6:06 
AnswerRe: Simulate pressing of tab key ??? Pin
Michael Dunn6-Jan-05 11:00
sitebuilderMichael Dunn6-Jan-05 11:00 
GeneralRe: Simulate pressing of tab key ??? Pin
Raul Simcic7-Jan-05 8:04
Raul Simcic7-Jan-05 8:04 
AnswerRe: Simulate pressing of tab key ??? Pin
Anonymous6-Jan-05 11:13
Anonymous6-Jan-05 11:13 
AnswerRe: Simulate pressing of tab key ??? Pin
lisoft6-Jan-05 20:51
lisoft6-Jan-05 20:51 
AnswerRe: Simulate pressing of tab key ??? Pin
Raul Simcic7-Jan-05 1:40
Raul Simcic7-Jan-05 1:40 
AnswerRe: Simulate pressing of tab key ??? Pin
DBob10-Jan-05 5:59
DBob10-Jan-05 5:59 
GeneralDetect mouse up and after drag Pin
Anonymous6-Jan-05 4:11
Anonymous6-Jan-05 4:11 
Hi Smile | :)

I have a dialog which I want to be able to have detect a user clicking on and off the title bar. I can detect the left button down on the title bar by implementing CDialog::OnNcLButtonDown() which corresponds to ON_WM_NCLBUTTONDOWN(). Now what I want is to detect the left button being released. I've tried CDialog::OnLButtonUp() which corresponds to ON_WM_LBUTTONUP() and of course CDialog::OnNcLButtonUp() which corresponds to ON_WM_NCLBUTTONUP() but they do not seem to get called (I make an AfxMessageBox() call in them to check). I can get CDialog::OnNcLButtonUp() to be called by double-clicking the title bar but not when just releasing the mouse button. Can anyone help with this?

Thanks Smile | :)
GeneralRe: Detect mouse up and after drag Pin
Ravi Bhavnani6-Jan-05 4:50
professionalRavi Bhavnani6-Jan-05 4:50 
GeneralRe: Detect mouse up and after drag Pin
Ryan Binns6-Jan-05 17:54
Ryan Binns6-Jan-05 17:54 
GeneralRe: Detect mouse up and after drag Pin
DBob10-Jan-05 6:50
DBob10-Jan-05 6:50 
GeneralOpen a COM port greater than COM9 Pin
Cedric Moonen6-Jan-05 3:52
Cedric Moonen6-Jan-05 3:52 
GeneralRe: Open a COM port greater than COM9 Pin
Ryan Binns6-Jan-05 17:57
Ryan Binns6-Jan-05 17:57 
GeneralTool Tips On Modeless Dialogs Pin
hroenick6-Jan-05 3:43
hroenick6-Jan-05 3:43 
GeneralRe: Tool Tips On Modeless Dialogs Pin
PJ Arends6-Jan-05 8:04
professionalPJ Arends6-Jan-05 8:04 
GeneralRe: Tool Tips On Modeless Dialogs Pin
hroenick6-Jan-05 8:46
hroenick6-Jan-05 8:46 
GeneralRe: Tool Tips On Modeless Dialogs Pin
PJ Arends6-Jan-05 11:02
professionalPJ Arends6-Jan-05 11:02 
GeneralRe: Tool Tips On Modeless Dialogs Pin
hroenick7-Jan-05 3:04
hroenick7-Jan-05 3:04 
GeneralRe: Tool Tips On Modeless Dialogs Pin
PJ Arends7-Jan-05 8:07
professionalPJ Arends7-Jan-05 8:07 
GeneralRe: Tool Tips On Modeless Dialogs Pin
hroenick7-Jan-05 8:26
hroenick7-Jan-05 8:26 
GeneralRe: Tool Tips On Modeless Dialogs Pin
hroenick7-Jan-05 4:35
hroenick7-Jan-05 4:35 
QuestionHow do i create dll it will expose to all other function structures Pin
6-Jan-05 2:42
suss6-Jan-05 2:42 
AnswerRe: How do i create dll it will expose to all other function structures Pin
Jim Crafton6-Jan-05 16:23
Jim Crafton6-Jan-05 16:23 
QuestionWhy GDI&GDI+ occurs most of CPU time when they are used at the same time? Pin
wpxu6-Jan-05 2:39
professionalwpxu6-Jan-05 2:39 
AnswerRe: Why GDI&GDI+ occurs most of CPU time when they are used at the same time? Pin
PJ Arends6-Jan-05 8:18
professionalPJ Arends6-Jan-05 8:18 

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.