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

C / C++ / MFC

 
Questionwinsock errors Pin
afpr18-Aug-06 1:20
afpr18-Aug-06 1:20 
AnswerRe: winsock errors Pin
Rage18-Aug-06 1:27
professionalRage18-Aug-06 1:27 
GeneralRe: winsock errors Pin
afpr18-Aug-06 3:21
afpr18-Aug-06 3:21 
GeneralRe: winsock errors Pin
Rage18-Aug-06 3:30
professionalRage18-Aug-06 3:30 
QuestionDraw on Dialog Pin
erikamania18-Aug-06 1:04
erikamania18-Aug-06 1:04 
AnswerRe: Draw on Dialog Pin
Cedric Moonen18-Aug-06 1:10
Cedric Moonen18-Aug-06 1:10 
AnswerRe: Draw on Dialog Pin
Prakash Nadar18-Aug-06 1:19
Prakash Nadar18-Aug-06 1:19 
AnswerRe: Draw on Dialog [modified] Pin
_AnsHUMAN_ 18-Aug-06 1:35
_AnsHUMAN_ 18-Aug-06 1:35 
Do you know how to work with DC's
Get the dc of the dialog as
HDC hdc=::GetDC(m_hWnd);
and then use the line drawing functions to draw on the dialog through the DC
Once you are done with the dc release it.
Here's a sample code
HDC hdc=::GetDC(m_hWnd);
MoveToEx (hdc,0,0,NULL);
LineTo (hdc,100,100);
::ReleaseDC (m_hWnd,hdc);

-- modified at 7:42 Friday 18th August, 2006

Somethings seem HARD to do, until we know how to do them.
Wink | ;-) _AnShUmAn_

AnswerRe: Draw on Dialog Pin
Hamid_RT18-Aug-06 2:46
Hamid_RT18-Aug-06 2:46 
QuestionAbout CView problem,thank:) Pin
rxgmoral18-Aug-06 1:03
rxgmoral18-Aug-06 1:03 
AnswerRe: About CView problem,thank:) Pin
Rage18-Aug-06 1:28
professionalRage18-Aug-06 1:28 
QuestionRe: About CView problem,thank:) Pin
David Crow18-Aug-06 3:18
David Crow18-Aug-06 3:18 
Questionusing dll in VB(please help) Pin
aaaan18-Aug-06 0:59
aaaan18-Aug-06 0:59 
AnswerRe: using dll in VB(please help) Pin
Cedric Moonen18-Aug-06 1:12
Cedric Moonen18-Aug-06 1:12 
QuestionHow to hide the file names while in Thumbnail View ? Pin
Amar Sutar18-Aug-06 0:40
Amar Sutar18-Aug-06 0:40 
Questionhow to change the highlight color of listctrl Pin
GANsJob18-Aug-06 0:39
GANsJob18-Aug-06 0:39 
AnswerRe: how to change the highlight color of listctrl Pin
Tara1418-Aug-06 1:20
Tara1418-Aug-06 1:20 
GeneralRe: how to change the highlight color of listctrl [modified] Pin
GANsJob18-Aug-06 2:03
GANsJob18-Aug-06 2:03 
GeneralRe: how to change the highlight color of listctrl Pin
Tara1418-Aug-06 4:12
Tara1418-Aug-06 4:12 
GeneralRe: how to change the highlight color of listctrl Pin
GANsJob21-Aug-06 0:49
GANsJob21-Aug-06 0:49 
GeneralRe: how to change the highlight color of listctrl Pin
Tara1421-Aug-06 3:34
Tara1421-Aug-06 3:34 
AnswerRe: how to change the highlight color of listctrl Pin
Hamid_RT18-Aug-06 2:49
Hamid_RT18-Aug-06 2:49 
QuestionHyper Threading Crashes Pin
od@ananzi.co.za18-Aug-06 0:37
od@ananzi.co.za18-Aug-06 0:37 
Questiondetecting connection breakdown Pin
vijay_aroli18-Aug-06 0:18
vijay_aroli18-Aug-06 0:18 
QuestionHow do I Locate a Text box in a Big project based on the display of it at runtime? Pin
Sivaraman Dhamodaran17-Aug-06 23:47
Sivaraman Dhamodaran17-Aug-06 23:47 

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.