Click here to Skip to main content
15,886,873 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralVSS and C++ automation Pin
22-May-01 2:42
suss22-May-01 2:42 
Generalclicking on a listbox created in runtime over an edit control in a formview Pin
22-May-01 2:23
suss22-May-01 2:23 
GeneralRe: clicking on a listbox created in runtime over an edit control in a formview Pin
l a u r e n22-May-01 23:40
l a u r e n22-May-01 23:40 
GeneralDirectory Selection using File Dialog Pin
22-May-01 2:13
suss22-May-01 2:13 
GeneralRe: Directory Selection using File Dialog Pin
Tomasz Sowinski22-May-01 2:18
Tomasz Sowinski22-May-01 2:18 
GeneralAdding a new popup menu Pin
Bartek22-May-01 1:06
Bartek22-May-01 1:06 
GeneralRe: Adding a new popup menu Pin
Christian Graus22-May-01 1:47
protectorChristian Graus22-May-01 1:47 
GeneralRe: Adding a new popup menu Pin
Bartek22-May-01 2:22
Bartek22-May-01 2:22 
it can be done dynamically. i did it with the following code. (IDR_MENU1 - has only captions of my menu)

m_menu.LoadMenu(IDR_MENU1);
SetMenu(&m_menu);

CMenu* pContextMenu;
CMenu pPopMenu;

//Get sub menu - index 0
pContextMenu = m_menu.GetSubMenu(0);

pPopMenu.CreatePopupMenu ();

pPopMenu.AppendMenu (MF_STRING, 5001, "shortcut to desktop");
pPopMenu.AppendMenu (MF_STRING, 5001, "email");

pContextMenu->AppendMenu(MF_POPUP , (UINT) pPopMenu.m_hMenu , "SEND");

thanks Smile | :)
Generalactivex Pin
eXplodus21-May-01 23:56
eXplodus21-May-01 23:56 
GeneralEnterbutton Pin
21-May-01 23:31
suss21-May-01 23:31 
GeneralRe: Enterbutton Pin
22-May-01 5:41
suss22-May-01 5:41 
GeneralRe: Enterbutton Pin
22-May-01 20:51
suss22-May-01 20:51 
GeneralADO Parameters Pin
Richard Hudson21-May-01 22:46
Richard Hudson21-May-01 22:46 
GeneralRe: ADO Parameters Pin
John M. Drescher22-May-01 9:31
John M. Drescher22-May-01 9:31 
GeneralRe: ADO Parameters Pin
Carlos Antollini22-May-01 9:40
Carlos Antollini22-May-01 9:40 
GeneralDateTime Class Pin
Gerry21-May-01 22:24
Gerry21-May-01 22:24 
GeneralHELP !!! fit size of dialod window to various resolutions Pin
21-May-01 21:48
suss21-May-01 21:48 
GeneralRe: HELP !!! fit size of dialod window to various resolutions Pin
Christian Graus21-May-01 23:27
protectorChristian Graus21-May-01 23:27 
GeneralRe: HELP !!! fit size of dialod window to various resolutions Pin
22-May-01 0:01
suss22-May-01 0:01 
GeneralRe: HELP !!! fit size of dialod window to various resolutions Pin
Christian Graus22-May-01 0:09
protectorChristian Graus22-May-01 0:09 
GeneralRe: HELP !!! fit size of dialod window to various resolutions Pin
22-May-01 3:05
suss22-May-01 3:05 
GeneralRe: HELP !!! fit size of dialod window to various resolutions Pin
Christian Graus22-May-01 3:29
protectorChristian Graus22-May-01 3:29 
QuestionHow can I read data from EXEL file? Pin
21-May-01 21:00
suss21-May-01 21:00 
AnswerRe: How can I read data from EXEL file? Pin
Michael Martin21-May-01 22:30
professionalMichael Martin21-May-01 22:30 
Generalmedia control interface Pin
dearsrinu21-May-01 19:45
dearsrinu21-May-01 19:45 

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.