Click here to Skip to main content
15,891,136 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Debugging Dll Pin
Shenthil13-Jan-04 1:45
Shenthil13-Jan-04 1:45 
GeneralUpgrading 'ATLBASE.h' Pin
Anonymous12-Jan-04 22:28
Anonymous12-Jan-04 22:28 
GeneralRe: Upgrading 'ATLBASE.h' Pin
Michael P Butler12-Jan-04 22:59
Michael P Butler12-Jan-04 22:59 
QuestionHow to display an image loaded from a file on a dialog ? Pin
Qadddd12-Jan-04 22:20
Qadddd12-Jan-04 22:20 
AnswerRe: How to display an image loaded from a file on a dialog ? Pin
algol13-Jan-04 21:34
algol13-Jan-04 21:34 
GeneralSetTopIndex functionality in Combolist (Droplist) Pin
bluebar12-Jan-04 22:06
bluebar12-Jan-04 22:06 
Generalsystem tray popup menu problem Pin
skpanda12-Jan-04 21:46
skpanda12-Jan-04 21:46 
GeneralRe: system tray popup menu problem Pin
Roger Allen13-Jan-04 1:03
Roger Allen13-Jan-04 1:03 
A quick example put together from memory on dynamic menu creation
HMENU hMenu = ::CreatePopupMenu();

switch (itemCount)
{
case 5:AppendMenu(hMenu, MF_STRING, 5, "Item 5");
case 4:AppendMenu(hMenu, MF_STRING, 4, "Item 4");
case 3:AppendMenu(hMenu, MF_STRING, 2, "Item 3");
case 2:AppendMenu(hMenu, MF_STRING, 2, "Item 2");
case 1:AppendMenu(hMenu, MF_STRING, 1, "Item 1");
case 0:
break;
}

int selection = TrackPopupMenuEx(hMenu, x, y, TPM_RETURNCMD, ...);
DestroyMenu(hMenu);



Roger Allen - Sonork 100.10016
Roger Wright: Remember to buckle up, please, and encourage your friends to do the same. It's not just about saving your life, but saving the quality of life for those you may leave behind...
GeneralGets file through proxy with autorization Pin
Eugene Pustovoyt12-Jan-04 21:22
Eugene Pustovoyt12-Jan-04 21:22 
GeneralRe: Gets file through proxy with autorization Pin
murali_utr13-Jan-04 0:11
murali_utr13-Jan-04 0:11 
GeneralRe: Gets file through proxy with autorization Pin
Eugene Pustovoyt13-Jan-04 1:11
Eugene Pustovoyt13-Jan-04 1:11 
GeneralRe: Gets file through proxy with autorization Pin
murali_utr13-Jan-04 1:41
murali_utr13-Jan-04 1:41 
GeneralRe: Gets file through proxy with autorization Pin
Eugene Pustovoyt13-Jan-04 2:27
Eugene Pustovoyt13-Jan-04 2:27 
GeneralRe: Gets file through proxy with autorization Pin
murali_utr13-Jan-04 17:41
murali_utr13-Jan-04 17:41 
GeneralRe: Gets file through proxy with autorization Pin
Eugene Pustovoyt13-Jan-04 18:10
Eugene Pustovoyt13-Jan-04 18:10 
GeneralDownload Management Pin
abhinarulkar12-Jan-04 21:22
abhinarulkar12-Jan-04 21:22 
GeneralRe: Download Management Pin
Mike Dimmick13-Jan-04 2:13
Mike Dimmick13-Jan-04 2:13 
GeneralRe: Download Management Pin
abhinarulkar14-Jan-04 3:40
abhinarulkar14-Jan-04 3:40 
GeneralImporting JPEG in MFC Pin
hurr1can312-Jan-04 21:04
hurr1can312-Jan-04 21:04 
GeneralRe: Importing JPEG in MFC Pin
l a u r e n12-Jan-04 21:17
l a u r e n12-Jan-04 21:17 
GeneralRe: Importing JPEG in MFC Pin
Selvam R12-Jan-04 22:02
professionalSelvam R12-Jan-04 22:02 
GeneralRe: Importing JPEG in MFC Pin
Prakash Nadar13-Jan-04 0:18
Prakash Nadar13-Jan-04 0:18 
QuestionIs there such a API function for thread? Pin
zhaopzhi12-Jan-04 20:33
zhaopzhi12-Jan-04 20:33 
GeneralOdd CEdit Pin
AntonGogolev12-Jan-04 20:30
AntonGogolev12-Jan-04 20:30 
GeneralRe: Odd CEdit Pin
Paul Hooper12-Jan-04 21:34
Paul Hooper12-Jan-04 21:34 

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.