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

C / C++ / MFC

 
GeneralHelp!!! How to write single Event Handler for 100 buttons Pin
VikramDelhi19-Nov-04 9:56
VikramDelhi19-Nov-04 9:56 
GeneralRe: Help!!! How to write single Event Handler for 100 buttons Pin
David Crow19-Nov-04 10:06
David Crow19-Nov-04 10:06 
GeneralRe: Help!!! How to write single Event Handler for 100 buttons Pin
Member 30761219-Nov-04 19:07
Member 30761219-Nov-04 19:07 
GeneralGDI SetDIBitsToDevice help Pin
Budric B.19-Nov-04 7:51
Budric B.19-Nov-04 7:51 
GeneralRe: GDI SetDIBitsToDevice help Pin
PJ Arends20-Nov-04 9:46
professionalPJ Arends20-Nov-04 9:46 
GeneralNetBios Shared Folders Scanner Pin
Y3YPnATOP19-Nov-04 7:16
Y3YPnATOP19-Nov-04 7:16 
GeneralRe: NetBios Shared Folders Scanner Pin
David Crow19-Nov-04 10:09
David Crow19-Nov-04 10:09 
GeneralCommand driven application Pin
Deelip19-Nov-04 7:14
Deelip19-Nov-04 7:14 
I wonder if anyone can point me to any literature regarding designing a command driven application like AutoCAD. I already have the GUI (drawing view, command bar, etc.) in place. I now need the command engine to run the GUI.

For example, if the user enters "LINE" at the command prompt, a new thread (I guess) should begin which looks for mouse clicks in the drawing view and keyboard events at the command prompt (for the line's end point coordinates). This thread should not return untill all the required input is gathered, in this case, the two end points of the line to be created. The user can specify the start point of the line by clicking in the drawing view and enter the coordinates of the end point at the command prompt. After this is done the thread returns control to the calling function which creates the line.

Any comments, suggestions, ideas that will help me achieve this will be greatly appreciated.

Thanks.
GeneralRe: Command driven application Pin
BlackDice19-Nov-04 7:22
BlackDice19-Nov-04 7:22 
GeneralRe: Command driven application Pin
Deelip19-Nov-04 17:16
Deelip19-Nov-04 17:16 
GeneralRe: Command driven application Pin
Maximilien19-Nov-04 7:36
Maximilien19-Nov-04 7:36 
Generalchanging defaut button Pin
toxcct19-Nov-04 6:09
toxcct19-Nov-04 6:09 
GeneralRe: changing defaut button Pin
basementman19-Nov-04 6:30
basementman19-Nov-04 6:30 
GeneralRe: changing defaut button Pin
BlackDice19-Nov-04 6:33
BlackDice19-Nov-04 6:33 
GeneralRe: changing defaut button Pin
Yulianto.19-Nov-04 14:03
Yulianto.19-Nov-04 14:03 
GeneralRe: changing defaut button Pin
toxcct20-Nov-04 7:52
toxcct20-Nov-04 7:52 
GeneralRe: changing defaut button Pin
Yulianto.21-Nov-04 21:21
Yulianto.21-Nov-04 21:21 
GeneralRe: changing defaut button Pin
Yulianto.22-Nov-04 15:56
Yulianto.22-Nov-04 15:56 
GeneralRe: changing defaut button Pin
toxcct22-Nov-04 20:34
toxcct22-Nov-04 20:34 
GeneralRe: changing defaut button Pin
bmzhao19-Nov-04 15:01
bmzhao19-Nov-04 15:01 
GeneralRe: changing defaut button Pin
toxcct20-Nov-04 7:53
toxcct20-Nov-04 7:53 
Questionexisting file ? Pin
toxcct19-Nov-04 5:14
toxcct19-Nov-04 5:14 
AnswerRe: existing file ? Pin
Blake Miller19-Nov-04 5:25
Blake Miller19-Nov-04 5:25 
AnswerRe: existing file ? Pin
22491719-Nov-04 17:19
22491719-Nov-04 17:19 
AnswerRe: existing file ? Pin
ThatsAlok22-Nov-04 1:18
ThatsAlok22-Nov-04 1: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.