Click here to Skip to main content
15,900,258 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionCopying from unsigned char * to the CString Pin
ashishbhatt19-Oct-07 2:01
ashishbhatt19-Oct-07 2:01 
AnswerRe: Copying from unsigned char * to the CString Pin
john563219-Oct-07 2:11
john563219-Oct-07 2:11 
GeneralRe: Copying from unsigned char * to the CString Pin
ashishbhatt19-Oct-07 2:23
ashishbhatt19-Oct-07 2:23 
GeneralRe: Copying from unsigned char * to the CString Pin
Tydia-kun19-Oct-07 3:50
Tydia-kun19-Oct-07 3:50 
AnswerRe: Copying from unsigned char * to the CString Pin
Nishad S19-Oct-07 2:13
Nishad S19-Oct-07 2:13 
AnswerRe: Copying from unsigned char * to the CString Pin
James R. Twine19-Oct-07 7:13
James R. Twine19-Oct-07 7:13 
Questionhow to draw a dynamic curve Pin
nibabug19-Oct-07 0:31
nibabug19-Oct-07 0:31 
AnswerRe: how to draw a dynamic curve Pin
jhwurmbach19-Oct-07 0:45
jhwurmbach19-Oct-07 0:45 
GeneralRe: how to draw a dynamic curve Pin
nibabug19-Oct-07 0:51
nibabug19-Oct-07 0:51 
GeneralRe: how to draw a dynamic curve Pin
jhwurmbach19-Oct-07 0:56
jhwurmbach19-Oct-07 0:56 
AnswerRe: how to draw a dynamic curve Pin
chandu00419-Oct-07 0:48
chandu00419-Oct-07 0:48 
GeneralRe: how to draw a dynamic curve Pin
Hamid_RT19-Oct-07 0:57
Hamid_RT19-Oct-07 0:57 
GeneralRe: how to draw a dynamic curve Pin
chandu00419-Oct-07 1:06
chandu00419-Oct-07 1:06 
GeneralRe: how to draw a dynamic curve Pin
Cedric Moonen19-Oct-07 1:11
Cedric Moonen19-Oct-07 1:11 
GeneralRe: how to draw a dynamic curve Pin
chandu00419-Oct-07 1:22
chandu00419-Oct-07 1:22 
GeneralRe: how to draw a dynamic curve Pin
Cedric Moonen19-Oct-07 1:24
Cedric Moonen19-Oct-07 1:24 
GeneralRe: how to draw a dynamic curve Pin
chandu00419-Oct-07 1:36
chandu00419-Oct-07 1:36 
GeneralRe: how to draw a dynamic curve Pin
nibabug19-Oct-07 0:59
nibabug19-Oct-07 0:59 
GeneralRe: how to draw a dynamic curve Pin
chandu00419-Oct-07 1:10
chandu00419-Oct-07 1:10 
AnswerRe: how to draw a dynamic curve Pin
Hamid_RT19-Oct-07 0:56
Hamid_RT19-Oct-07 0:56 
AnswerRe: how to draw a dynamic curve Pin
Nishad S19-Oct-07 1:21
Nishad S19-Oct-07 1:21 
GeneralRe: how to draw a dynamic curve Pin
nibabug19-Oct-07 1:31
nibabug19-Oct-07 1:31 
AnswerRe: how to draw a dynamic curve Pin
Cedric Moonen19-Oct-07 1:22
Cedric Moonen19-Oct-07 1:22 
QuestionOwn created menues and ID Pin
baerten19-Oct-07 0:20
baerten19-Oct-07 0:20 
Hi everybody,

i create my self a menu-object, so i can display the menu-items dynamically :

CMenu *Home = new CMenu();
Hom->AppendMenu(MF_STRING,ID_MYMENU_GO,"Go");
Home->TrackPopUpMenu(TPM_LEFTALIGN|TPM_RIGHTBUTTON,point.x,point.y,Parent);

The ID_MYMENU_GO isn't known and the menu item is disabled.
If i create a new String-Ressource with the ID of ID_MYMENU_GO and set a String of "-"
the Menu-Element is displayed correctly ...

Is it also possible to set the Menu-Item ID to the project/mainform/.. so that
the application knows the ID ?

For example adding the String via programmation into the known ID's ...

Big thanks for help Smile | :)
AnswerRe: Own created menues and ID Pin
Hamid_RT19-Oct-07 1:06
Hamid_RT19-Oct-07 1:06 

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.