Click here to Skip to main content
15,917,642 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Generalc++ and c# in .NET Pin
HudsonKane22-Oct-03 7:56
HudsonKane22-Oct-03 7:56 
GeneralRe: c++ and c# in .NET Pin
Ryan_Roberts22-Oct-03 11:55
Ryan_Roberts22-Oct-03 11:55 
GeneralRe: c++ and c# in .NET Pin
HudsonKane23-Oct-03 10:09
HudsonKane23-Oct-03 10:09 
GeneralUpdating a list box w/ progress data Pin
jimNLX22-Oct-03 7:30
jimNLX22-Oct-03 7:30 
GeneralRe: Updating a list box w/ progress data Pin
David Crow22-Oct-03 7:43
David Crow22-Oct-03 7:43 
QuestionHow to open a notepad file in a edit box Pin
Deepak Samuel22-Oct-03 6:05
Deepak Samuel22-Oct-03 6:05 
AnswerRe: How to open a notepad file in a edit box Pin
David Crow22-Oct-03 7:52
David Crow22-Oct-03 7:52 
GeneralRe: How to open a notepad file in a edit box Pin
Deepak Samuel22-Oct-03 8:42
Deepak Samuel22-Oct-03 8:42 
GeneralRe: How to open a notepad file in a edit box Pin
David Crow22-Oct-03 8:48
David Crow22-Oct-03 8:48 
GeneralRe: How to open a notepad file in a edit box Pin
Atlantys22-Oct-03 11:30
Atlantys22-Oct-03 11:30 
GeneralProblem with editbox Pin
Deepak Samuel22-Oct-03 6:03
Deepak Samuel22-Oct-03 6:03 
GeneralRe: Problem with editbox Pin
Ravi Bhavnani22-Oct-03 6:12
professionalRavi Bhavnani22-Oct-03 6:12 
GeneralRe: Problem with editbox Pin
David Crow22-Oct-03 7:54
David Crow22-Oct-03 7:54 
GeneralQUESTION about bitwise shift operations Pin
va_dev22-Oct-03 5:49
va_dev22-Oct-03 5:49 
GeneralRe: QUESTION about bitwise shift operations Pin
David Crow22-Oct-03 8:05
David Crow22-Oct-03 8:05 
GeneralRe: QUESTION about bitwise shift operations Pin
va_dev22-Oct-03 19:55
va_dev22-Oct-03 19:55 
GeneralRe: QUESTION about bitwise shift operations Pin
David Crow23-Oct-03 3:15
David Crow23-Oct-03 3:15 
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

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.