Click here to Skip to main content
15,918,596 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Doc/View Philosophical Question... Pin
Bob Stanneveld20-Jul-04 13:05
Bob Stanneveld20-Jul-04 13:05 
Generalsetting dialog size Pin
Anonymous20-Jul-04 6:39
Anonymous20-Jul-04 6:39 
GeneralRe: setting dialog size Pin
Nitron20-Jul-04 7:28
Nitron20-Jul-04 7:28 
GeneralRe: setting dialog size Pin
David Crow20-Jul-04 10:38
David Crow20-Jul-04 10:38 
GeneralIE Favorites Pin
Anonymous20-Jul-04 4:34
Anonymous20-Jul-04 4:34 
GeneralRe: IE Favorites Pin
Ravi Bhavnani20-Jul-04 5:34
professionalRavi Bhavnani20-Jul-04 5:34 
QuestionHow to handle doubleclick on a toolbar Pin
MyttO20-Jul-04 4:27
MyttO20-Jul-04 4:27 
AnswerRe: How to handle doubleclick on a toolbar Pin
Alexander Wiseman20-Jul-04 5:24
Alexander Wiseman20-Jul-04 5:24 
Why not add a WM_LBUTTONDBLCLK handler to the toolbar window? In the message handler function, you could detect which toolbar button was double-clicked by translating the mouse position to an item on the toolbar.

One word of warning: if you want to handle a double click and a regular click, then you will need to add some logic to the single click handler to wait and see if the user does a double-click. This is because the messages generated from a double-click look something like this:

WM_LBUTTONDOWN
WM_LBUTTONUP
(so now the command handler for the toolbar button will be invoked)
WM_LBUTTONDBLCLK
(now your double click handler will be invoked)
WM_LBUTTONUP

Hope that helps!



Sincerely,
Alexander Wiseman

Est melior esse quam videri
It is better to be than to seem
QuestionHow to Enable EditBox through Win32Application(SDK) Pin
Anonymous20-Jul-04 3:37
Anonymous20-Jul-04 3:37 
AnswerRe: How to Enable EditBox through Win32Application(SDK) Pin
David Crow20-Jul-04 3:53
David Crow20-Jul-04 3:53 
AnswerRe: How to Enable EditBox through Win32Application(SDK) Pin
bikram singh20-Jul-04 4:30
bikram singh20-Jul-04 4:30 
Generalmenu ID Pin
V.20-Jul-04 3:21
professionalV.20-Jul-04 3:21 
GeneralRe: menu ID Pin
Alexander Wiseman20-Jul-04 4:58
Alexander Wiseman20-Jul-04 4:58 
GeneralRe: menu ID Pin
V.20-Jul-04 5:08
professionalV.20-Jul-04 5:08 
Questionhow to use CreateTimerQueueTimer? Pin
yingkou20-Jul-04 2:44
yingkou20-Jul-04 2:44 
AnswerRe: how to use CreateTimerQueueTimer? Pin
valikac20-Jul-04 5:15
valikac20-Jul-04 5:15 
AnswerRe: how to use CreateTimerQueueTimer? Pin
palbano20-Jul-04 11:21
palbano20-Jul-04 11:21 
GeneralRe: how to use CreateTimerQueueTimer? Pin
yingkou20-Jul-04 13:18
yingkou20-Jul-04 13:18 
GeneralRe: how to use CreateTimerQueueTimer? Pin
yingkou20-Jul-04 16:10
yingkou20-Jul-04 16:10 
GeneralRe: how to use CreateTimerQueueTimer? Pin
palbano20-Jul-04 16:15
palbano20-Jul-04 16:15 
GeneralRe: how to use CreateTimerQueueTimer? Pin
yingkou20-Jul-04 19:03
yingkou20-Jul-04 19:03 
GeneralRe: how to use CreateTimerQueueTimer? Pin
palbano20-Jul-04 19:27
palbano20-Jul-04 19:27 
GeneralRe: how to use CreateTimerQueueTimer? Pin
yingkou21-Jul-04 3:16
yingkou21-Jul-04 3:16 
GeneralBringWindowToTop oddness Pin
Joel Holdsworth20-Jul-04 0:42
Joel Holdsworth20-Jul-04 0:42 
GeneralRe: BringWindowToTop oddness Pin
Ravi Bhavnani20-Jul-04 1:41
professionalRavi Bhavnani20-Jul-04 1:41 

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.