Click here to Skip to main content
15,911,890 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Need help on how to vertical scroll bar to my dialog box Pin
John5024-Feb-09 7:31
John5024-Feb-09 7:31 
AnswerRe: Need help on how to vertical scroll bar to my dialog box Pin
Stuart Dootson4-Feb-09 1:37
professionalStuart Dootson4-Feb-09 1:37 
QuestionHow do i draw line on picture control? Pin
z01e3-Feb-09 23:15
z01e3-Feb-09 23:15 
AnswerRe: How do i draw line on picture control? Pin
Hamid_RT3-Feb-09 23:57
Hamid_RT3-Feb-09 23:57 
GeneralRe: How do i draw line on picture control? Pin
z01e4-Feb-09 0:12
z01e4-Feb-09 0:12 
GeneralRe: How do i draw line on picture control? Pin
Stuart Dootson4-Feb-09 1:34
professionalStuart Dootson4-Feb-09 1:34 
AnswerRe: How do i draw line on picture control? Pin
Nishad S4-Feb-09 0:38
Nishad S4-Feb-09 0:38 
QuestionUsing GetClientRect() and ExtTextOut() Pin
Abhinay Kumar3-Feb-09 22:52
Abhinay Kumar3-Feb-09 22:52 
1.Can i get a visible rectangle in a simple(typical win32)application?I wrote the code in WM_PAINT message as given below?I tried it but am not getting the
rectangle.Can any one help me in this?my code in WM_PAINT is

RECT rt,rtclient;

GetClientRect(hWnd, &rt);
SetRect(&rtClient,10,10,50,40);
wsprintf(buffer,"%d %d %d %d",rtClient.left,rtClient.top,rtClient.right,rtClient.bottom);
SetTextAlign(ps.hdc,TA_CENTER | TA_TOP);
ExtTextOut(ps.hdc,15,20,0,&rtClient,"RAM",3,NULL);


2.FORWARD_WM_CTLCOLOR()is not recognized in visual studio6.0.Is there any alternative function which does the same job?
AnswerRe: Using GetClientRect() and ExtTextOut() Pin
Code-o-mat3-Feb-09 23:06
Code-o-mat3-Feb-09 23:06 
GeneralRe: Using GetClientRect() and ExtTextOut() Pin
Abhinay Kumar3-Feb-09 23:32
Abhinay Kumar3-Feb-09 23:32 
GeneralRe: Using GetClientRect() and ExtTextOut() Pin
Code-o-mat3-Feb-09 23:45
Code-o-mat3-Feb-09 23:45 
GeneralRe: Using GetClientRect() and ExtTextOut() Pin
Abhinay Kumar3-Feb-09 23:55
Abhinay Kumar3-Feb-09 23:55 
GeneralRe: Using GetClientRect() and ExtTextOut() Pin
Code-o-mat4-Feb-09 1:25
Code-o-mat4-Feb-09 1:25 
GeneralRe: Using GetClientRect() and ExtTextOut() Pin
Abhinay Kumar4-Feb-09 2:40
Abhinay Kumar4-Feb-09 2:40 
GeneralRe: Using GetClientRect() and ExtTextOut() Pin
Code-o-mat4-Feb-09 2:49
Code-o-mat4-Feb-09 2:49 
GeneralRe: Using GetClientRect() and ExtTextOut() Pin
Abhinay Kumar4-Feb-09 2:56
Abhinay Kumar4-Feb-09 2:56 
GeneralRe: Using GetClientRect() and ExtTextOut() Pin
Code-o-mat4-Feb-09 3:15
Code-o-mat4-Feb-09 3:15 
GeneralRe: Using GetClientRect() and ExtTextOut() Pin
Abhinay Kumar4-Feb-09 3:33
Abhinay Kumar4-Feb-09 3:33 
QuestionRe: Using GetClientRect() and ExtTextOut() Pin
David Crow4-Feb-09 3:22
David Crow4-Feb-09 3:22 
AnswerRe: Using GetClientRect() and ExtTextOut() Pin
Abhinay Kumar4-Feb-09 3:37
Abhinay Kumar4-Feb-09 3:37 
Questionproblem in vc++ project Pin
kir_MFC3-Feb-09 21:50
kir_MFC3-Feb-09 21:50 
AnswerRe: problem in vc++ project Pin
Smith#3-Feb-09 21:55
Smith#3-Feb-09 21:55 
AnswerRe: problem in vc++ project Pin
Nishad S3-Feb-09 22:11
Nishad S3-Feb-09 22:11 
QuestionRe: problem in vc++ project Pin
David Crow4-Feb-09 3:24
David Crow4-Feb-09 3:24 
Questionstrcpy Pin
hrishiS3-Feb-09 21:25
hrishiS3-Feb-09 21: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.