Click here to Skip to main content
15,923,087 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: new to dlls! Pin
Abebe20-Mar-06 20:07
Abebe20-Mar-06 20:07 
AnswerRe: new to dlls! Pin
#realJSOP21-Mar-06 7:26
professional#realJSOP21-Mar-06 7:26 
QuestionAccess Violation !! Pin
sottos20-Mar-06 11:28
sottos20-Mar-06 11:28 
QuestionOutputs in bold form... Pin
yonis 1120-Mar-06 8:36
yonis 1120-Mar-06 8:36 
AnswerRe: Outputs in bold form... Pin
Stephen Hewitt20-Mar-06 11:38
Stephen Hewitt20-Mar-06 11:38 
GeneralRe: Outputs in bold form... Pin
Chris Gao20-Mar-06 16:22
Chris Gao20-Mar-06 16:22 
QuestionChoosing an architecture. Pin
belkhal20-Mar-06 8:20
belkhal20-Mar-06 8:20 
QuestionGetting a Pointer to DC from Document Pin
signbit20-Mar-06 7:11
signbit20-Mar-06 7:11 
Dear All,

how can I get a pointer to DC (that is associated with the View):-> from the document class? I need a pointer to DC to do some manipulation... I am using:

CDC *pDC = AfxGetMainWnd()->GetDC();<br />
....<br />
....<br />
AfxGetMainWnd()->ReleaseDC();


but it's not working as expected...


- A programmer's national anthem; "AAAAAHHHHH!!!!"
AnswerRe: Getting a Pointer to DC from Document Pin
Iain Clarke, Warrior Programmer20-Mar-06 8:36
Iain Clarke, Warrior Programmer20-Mar-06 8:36 
GeneralRe: Getting a Pointer to DC from Document Pin
signbit20-Mar-06 17:35
signbit20-Mar-06 17:35 
QuestionSaving from a dialog box Pin
amanoullah20-Mar-06 6:41
amanoullah20-Mar-06 6:41 
AnswerRe: Saving from a dialog box Pin
Richard Kock20-Mar-06 6:53
Richard Kock20-Mar-06 6:53 
AnswerRe: Saving from a dialog box Pin
Maximilien20-Mar-06 6:58
Maximilien20-Mar-06 6:58 
AnswerRe: Saving from a dialog box Pin
Ștefan-Mihai MOGA21-Mar-06 1:11
professionalȘtefan-Mihai MOGA21-Mar-06 1:11 
QuestionObtaining the text from active VC IDE source-code window Pin
Virtek20-Mar-06 6:11
Virtek20-Mar-06 6:11 
QuestionSSL? Pin
dandy7220-Mar-06 5:58
dandy7220-Mar-06 5:58 
AnswerRe: SSL? Pin
Rob Caldecott20-Mar-06 6:15
Rob Caldecott20-Mar-06 6:15 
GeneralRe: SSL? Pin
dandy7220-Mar-06 7:24
dandy7220-Mar-06 7:24 
AnswerRe: SSL? Pin
valikac20-Mar-06 10:14
valikac20-Mar-06 10:14 
GeneralRe: SSL? Pin
dandy7220-Mar-06 10:51
dandy7220-Mar-06 10:51 
Questiondll Pin
ss200620-Mar-06 5:57
ss200620-Mar-06 5:57 
AnswerRe: dll Pin
toxcct20-Mar-06 6:03
toxcct20-Mar-06 6:03 
Questionoverloading IpropertyPage part of COlePropertyPage Pin
norbert_barbosa20-Mar-06 5:39
norbert_barbosa20-Mar-06 5:39 
Questionoverloading IpropertyPage part of COlePropertyPage Pin
norbert_barbosa20-Mar-06 5:30
norbert_barbosa20-Mar-06 5:30 
QuestionAnother example of variable number of parameters (using ellipsis)? Pin
Link260020-Mar-06 5:25
Link260020-Mar-06 5:25 

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.