Click here to Skip to main content
15,895,142 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralProblem with Thread and Main Window Pin
Atlence11-May-03 1:59
Atlence11-May-03 1:59 
GeneralRe: Problem with Thread and Main Window Pin
User 665811-May-03 2:10
User 665811-May-03 2:10 
GeneralRe: Problem with Thread and Main Window Pin
Neville Franks11-May-03 2:26
Neville Franks11-May-03 2:26 
GeneralRe: Problem with Thread and Main Window Pin
Atlence11-May-03 6:30
Atlence11-May-03 6:30 
GeneralRe: Problem with Thread and Main Window Pin
Nish Nishant11-May-03 4:24
sitebuilderNish Nishant11-May-03 4:24 
GeneralRe: Problem with Thread and Main Window Pin
valikac11-May-03 6:15
valikac11-May-03 6:15 
GeneralRe: Problem with Thread and Main Window Pin
Neville Franks11-May-03 8:45
Neville Franks11-May-03 8:45 
GeneralTextOut problems Pin
franklyflee11-May-03 0:36
franklyflee11-May-03 0:36 
Hi ppl

I created a child windows and I passed the child window handle to a function. And inside that function I used TextOut to print out simply "hallo"
So I simply use
TextOut(hdc, 10, 10, "hallo", 5);
One line is fine, but if I called TextOut like 10 times and incrementing like

TextOut(hdc, 10, 30, "hallo2", 5);<br />
TextOut(hdc, 10, 50, "hallo3", 5);<br />
TextOut(hdc, 10, 70, "hallo4", 5);<br />
.<br />
.<br />
.


Then some of the "hallo"s will be out of the range of the child window and cannot be displayed. So anyone can help me how to make it scrollable?

And another thing is when I resize the child window, like maximizing or minimizing it. The texts will be all gone. So I think that has sth to do with WM_PAINT, right? But how should I make it?

Thanz!!Smile | :)


fRaNkLy i'm FrAnKy
GeneralRe: TextOut problems Pin
franklyflee11-May-03 1:04
franklyflee11-May-03 1:04 
GeneralRe: TextOut problems Pin
Joe Woodbury11-May-03 6:23
professionalJoe Woodbury11-May-03 6:23 
GeneralRe: TextOut problems Pin
franklyflee11-May-03 6:38
franklyflee11-May-03 6:38 
GeneralRe: TextOut problems Pin
Joe Woodbury11-May-03 6:52
professionalJoe Woodbury11-May-03 6:52 
General[how to] multi-language/unicode application Pin
zecodela10-May-03 23:00
zecodela10-May-03 23:00 
GeneralRe: [how to] multi-language/unicode application Pin
Ted Ferenc11-May-03 1:21
Ted Ferenc11-May-03 1:21 
GeneralRe: [how to] multi-language/unicode application Pin
zecodela11-May-03 2:59
zecodela11-May-03 2:59 
GeneralRe: [how to] multi-language/unicode application Pin
Ted Ferenc11-May-03 4:08
Ted Ferenc11-May-03 4:08 
GeneralRe: [how to] multi-language/unicode application Pin
zecodela11-May-03 7:05
zecodela11-May-03 7:05 
GeneralRe: [how to] multi-language/unicode application Pin
Ted Ferenc11-May-03 7:16
Ted Ferenc11-May-03 7:16 
GeneralRe: [how to] multi-language/unicode application Pin
zecodela11-May-03 23:36
zecodela11-May-03 23:36 
GeneralRe: [how to] multi-language/unicode application Pin
Ted Ferenc12-May-03 0:06
Ted Ferenc12-May-03 0:06 
GeneralRe: [how to] multi-language/unicode application Pin
zecodela12-May-03 0:58
zecodela12-May-03 0:58 
GeneralRe: [how to] multi-language/unicode application Pin
Anonymous12-May-03 3:46
Anonymous12-May-03 3:46 
GeneralPassing a va_list to printf Pin
Jo Fredrickson10-May-03 20:37
Jo Fredrickson10-May-03 20:37 
GeneralRe: Passing a va_list to printf Pin
Johnny ²10-May-03 21:30
Johnny ²10-May-03 21:30 
GeneralRe: Passing a va_list to printf Pin
Jo Fredrickson10-May-03 22:15
Jo Fredrickson10-May-03 22:15 

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.