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

C / C++ / MFC

 
GeneralRe: QUESTION about bitwise shift operations Pin
va_dev23-Oct-03 4:53
va_dev23-Oct-03 4:53 
GeneralRe: QUESTION about bitwise shift operations Pin
David Crow23-Oct-03 6:49
David Crow23-Oct-03 6:49 
Generalapply local-time-zone/dst on a DBTIMESTAMP variable Pin
ohadp22-Oct-03 5:35
ohadp22-Oct-03 5:35 
GeneralUse of the Keyboard's events Pin
DiakRufus22-Oct-03 4:54
DiakRufus22-Oct-03 4:54 
GeneralRe: Use of the Keyboard's events Pin
G. Steudtel22-Oct-03 5:22
G. Steudtel22-Oct-03 5:22 
QuestionHow do you remove focus from a listbox manually? Pin
Kelly R22-Oct-03 4:31
sussKelly R22-Oct-03 4:31 
AnswerRe: How do you remove focus from a listbox manually? Pin
includeh1022-Oct-03 4:42
includeh1022-Oct-03 4:42 
AnswerRe: How do you remove focus from a listbox manually? Pin
G. Steudtel22-Oct-03 5:08
G. Steudtel22-Oct-03 5:08 
Hi,
I once had a similiar problem within a tree control. My solution was to make a boolean variable (bDoubleClicked) which was initially set to false. When the user double clicked an item I just set this variable to true and remembered what he/she choosed.
My actual action was taken on the mouse button up message. By looking if the user had double clicked I performed the task. In any case bDoubleClicked was set to false again.
The problem was that the mouse action was bound to the tree control and not released until the button up message arrived to that control.
I think you should use this method for your problem too.
Hope this helps.

Regards

G. Steudtel
GeneralRe: How do you remove focus from a listbox manually? Pin
Kelly R22-Oct-03 5:17
sussKelly R22-Oct-03 5:17 
AnswerRe: How do you remove focus from a listbox manually? Pin
David Crow22-Oct-03 5:13
David Crow22-Oct-03 5:13 
GeneralRe: How do you remove focus from a listbox manually? Pin
Kelly R22-Oct-03 5:31
sussKelly R22-Oct-03 5:31 
GeneralRe: How do you remove focus from a listbox manually? Pin
includeh1022-Oct-03 8:28
includeh1022-Oct-03 8:28 
GeneralRe: How do you remove focus from a listbox manually? Pin
David Crow22-Oct-03 8:55
David Crow22-Oct-03 8:55 
Generala simple Q about command.com Pin
includeh1022-Oct-03 4:26
includeh1022-Oct-03 4:26 
GeneralRe: a simple Q about command.com Pin
Kelly R22-Oct-03 5:04
sussKelly R22-Oct-03 5:04 
GeneralRe: a simple Q about command.com Pin
Kelly R22-Oct-03 5:09
sussKelly R22-Oct-03 5:09 
GeneralRe: a simple Q about command.com Pin
David Crow22-Oct-03 5:30
David Crow22-Oct-03 5:30 
GeneralRe: a simple Q about command.com Pin
Steve S22-Oct-03 6:01
Steve S22-Oct-03 6:01 
GeneralGetModuleFileName returning blank! Pin
ns22-Oct-03 3:59
ns22-Oct-03 3:59 
GeneralRe: GetModuleFileName returning blank! Pin
jhwurmbach22-Oct-03 4:16
jhwurmbach22-Oct-03 4:16 
Generalthanks., got it! Pin
ns22-Oct-03 4:37
ns22-Oct-03 4:37 
GeneralRe: GetModuleFileName returning blank! Pin
Moonspellwizard22-Oct-03 21:09
Moonspellwizard22-Oct-03 21:09 
GeneralApplication to control another Windows App Pin
Member 18130722-Oct-03 2:36
Member 18130722-Oct-03 2:36 
GeneralRe: Application to control another Windows App Pin
includeh1022-Oct-03 4:31
includeh1022-Oct-03 4:31 
GeneralRe: Application to control another Windows App Pin
Member 18130723-Oct-03 2:32
Member 18130723-Oct-03 2: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.