Click here to Skip to main content
15,916,835 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralFile Transfer Problem Pin
Sameer Maggon30-Apr-02 0:10
Sameer Maggon30-Apr-02 0:10 
GeneralProcess Handle Pin
Phil.Benson29-Apr-02 23:15
professionalPhil.Benson29-Apr-02 23:15 
GeneralRe: Process Handle Pin
adara30-Apr-02 2:56
adara30-Apr-02 2:56 
GeneralRe: Process Handle Pin
Phil.Benson30-Apr-02 5:27
professionalPhil.Benson30-Apr-02 5:27 
GeneralRe: Process Handle Pin
Ram Cronus30-Apr-02 6:16
Ram Cronus30-Apr-02 6:16 
GeneralRe: Process Handle Pin
Phil.Benson30-Apr-02 6:25
professionalPhil.Benson30-Apr-02 6:25 
GeneralGetting control HWND to active Window from another program Pin
29-Apr-02 23:11
suss29-Apr-02 23:11 
GeneralSetup a Printer Setup Dialog Pin
29-Apr-02 23:05
suss29-Apr-02 23:05 
Before I setup the Printer Setup dialog I wanted to set the paper size and orientation ect.

What I did was:

CPrintDialog PDlg(TRUE);
GlobalAlloc(GMEM_MEVABLE, sizeof(DEVMODE));
DEVMODE* pDevMode = (DEVMODE*) GlobalLock(PDlg.m_pd.hDevMode);
pDevMode-> ...
...
GlobalUnlock(PDlg.m_pd.hDevMode);
PDlg.DoModal();

According to MSDN this should be enough to initialize things before the call to DoModal, right?

Thanks for any suggestions.
Generalversion control for Visual C++ Pin
29-Apr-02 22:30
suss29-Apr-02 22:30 
GeneralRe: version control for Visual C++ Pin
Anna-Jayne Metcalfe29-Apr-02 23:09
Anna-Jayne Metcalfe29-Apr-02 23:09 
GeneralRe: version control for Visual C++ Pin
Wolfram Steinke30-Apr-02 1:23
Wolfram Steinke30-Apr-02 1:23 
QuestionQuestion of the year: what does #pragma start_map_region do? Pin
29-Apr-02 22:18
suss29-Apr-02 22:18 
AnswerRe: Question of the year: what does #pragma start_map_region do? Pin
moliate30-Apr-02 7:09
moliate30-Apr-02 7:09 
GeneralMAC Address - Ethernet address Pin
Sameer Maggon29-Apr-02 21:56
Sameer Maggon29-Apr-02 21:56 
GeneralRe: MAC Address - Ethernet address Pin
29-Apr-02 22:32
suss29-Apr-02 22:32 
QuestionWhat's wrong with my code? Pin
29-Apr-02 21:35
suss29-Apr-02 21:35 
AnswerRe: What's wrong with my code? Pin
Niklas L29-Apr-02 23:46
Niklas L29-Apr-02 23:46 
GeneralRe: What's wrong with my code? Pin
30-Apr-02 16:43
suss30-Apr-02 16:43 
Questionhow to judge IE have opened a page? Pin
legen xie29-Apr-02 21:17
legen xie29-Apr-02 21:17 
AnswerRe: how to judge IE have opened a page? Pin
moliate30-Apr-02 6:54
moliate30-Apr-02 6:54 
QuestionTransmitFile - Have anyone used it??? Pin
Sameer Maggon29-Apr-02 21:15
Sameer Maggon29-Apr-02 21:15 
GeneralRegistry Handling Pin
Sameer Maggon29-Apr-02 21:00
Sameer Maggon29-Apr-02 21:00 
GeneralRe: Registry Handling Pin
Jack Handy29-Apr-02 21:53
Jack Handy29-Apr-02 21:53 
GeneralRe: Registry Handling Pin
Sameer Maggon29-Apr-02 21:54
Sameer Maggon29-Apr-02 21:54 
GeneralRe: Registry Handling Pin
Sonu Kapoor29-Apr-02 23:09
Sonu Kapoor29-Apr-02 23:09 

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.