Click here to Skip to main content
15,883,901 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: A question Pin
Owner drawn4-Jan-06 16:59
Owner drawn4-Jan-06 16:59 
AnswerRe: A question Pin
lastgen4-Jan-06 17:03
lastgen4-Jan-06 17:03 
GeneralRe: A question Pin
PJ Arends4-Jan-06 17:44
professionalPJ Arends4-Jan-06 17:44 
GeneralRe: A question Pin
Owner drawn4-Jan-06 18:03
Owner drawn4-Jan-06 18:03 
GeneralRe: A question Pin
pantao5514-Jan-06 18:51
pantao5514-Jan-06 18:51 
Questionabout create a strange window(can change size) and paint it gradient background. Pin
HOW WHAT4-Jan-06 15:51
HOW WHAT4-Jan-06 15:51 
AnswerRe: about create a strange window(can change size) and paint it gradient background. Pin
Owner drawn4-Jan-06 16:52
Owner drawn4-Jan-06 16:52 
GeneralRe: about create a strange window(can change size) and paint it gradient background. Pin
HOW WHAT4-Jan-06 18:51
HOW WHAT4-Jan-06 18:51 
thanks for your Reply.

1.i try in OnSize() used SetWindowRgn(),right? have other idea? my mean is the windows is small and SetWindowRgn it is small round, and the window is big SetWindowRgn it is big round.

2.Some time ago, i tried your method but when the window size change big, the background is confusion, the old background(1) still exist, other area redraw ok.

old size
|--------|-------|
|  1  |    |
|--------|    |
|         |
|  background |
|---------------| now size

BTW:i say the window can change the size , mean is the window flags had WS_MAXIMIZEBOX and WS_THICKFRAME

Smile | :) My english so bad, shame.

-- modified at 0:52 Thursday 5th January, 2006
GeneralRe: about create a strange window(can change size) and paint it gradient background. Pin
Owner drawn4-Jan-06 21:02
Owner drawn4-Jan-06 21:02 
AnswerRe: about create a strange window(can change size) and paint it gradient background. Pin
rohinimtech8-Jan-06 18:54
rohinimtech8-Jan-06 18:54 
QuestionPlease give me some suggestion! Pin
LaHaHa4-Jan-06 15:08
LaHaHa4-Jan-06 15:08 
AnswerRe: Please give me some suggestion! Pin
Owner drawn4-Jan-06 17:16
Owner drawn4-Jan-06 17:16 
GeneralRe: Please give me some suggestion! Pin
LaHaHa4-Jan-06 18:28
LaHaHa4-Jan-06 18:28 
GeneralRe: Please give me some suggestion! Pin
Owner drawn4-Jan-06 20:15
Owner drawn4-Jan-06 20:15 
GeneralRe: Please give me some suggestion! Pin
LaHaHa4-Jan-06 21:21
LaHaHa4-Jan-06 21:21 
GeneralRe: Please give me some suggestion! Pin
vikas amin4-Jan-06 20:08
vikas amin4-Jan-06 20:08 
AnswerRe: Please give me some suggestion! Pin
Cool Ju4-Jan-06 22:08
Cool Ju4-Jan-06 22:08 
GeneralRe: Please give me some suggestion! Pin
LaHaHa4-Jan-06 23:33
LaHaHa4-Jan-06 23:33 
GeneralRe: Please give me some suggestion! Pin
Cool Ju4-Jan-06 23:45
Cool Ju4-Jan-06 23:45 
GeneralRe: Please give me some suggestion! Pin
LaHaHa5-Jan-06 14:28
LaHaHa5-Jan-06 14:28 
QuestionFile Transfer Client/Server (Proof Read) Pin
thes3cr3t14-Jan-06 12:32
thes3cr3t14-Jan-06 12:32 
AnswerRe: File Transfer Client/Server (Proof Read) Pin
sunit54-Jan-06 20:06
sunit54-Jan-06 20:06 
Questionresize Frame Pin
LeeeNN4-Jan-06 11:50
LeeeNN4-Jan-06 11:50 
AnswerRe: resize Frame Pin
Christian Graus4-Jan-06 12:31
protectorChristian Graus4-Jan-06 12:31 
AnswerRe: resize Frame Pin
vikas amin4-Jan-06 20:07
vikas amin4-Jan-06 20:07 

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.