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

C / C++ / MFC

 
AnswerRe: Display multi line colors in Rich edit control using VC++ Pin
Anilkumar K V4-Jan-06 20:48
Anilkumar K V4-Jan-06 20:48 
GeneralRe: Display multi line colors in Rich edit control using VC++ Pin
Owner drawn4-Jan-06 23:15
Owner drawn4-Jan-06 23:15 
GeneralRe: Display multi line colors in Rich edit control using VC++ Pin
Anilkumar K V5-Jan-06 0:35
Anilkumar K V5-Jan-06 0:35 
QuestionDisplay ulti line colors in Rich edit control using VC++ Pin
K. narasimharao4-Jan-06 19:37
K. narasimharao4-Jan-06 19:37 
QuestionEnter Key press on a button does not activate it Pin
GayathriNaveen4-Jan-06 19:15
GayathriNaveen4-Jan-06 19:15 
AnswerRe: Enter Key press on a button does not activate it Pin
birajendu4-Jan-06 19:58
birajendu4-Jan-06 19:58 
AnswerRe: Enter Key press on a button does not activate it Pin
vikas amin4-Jan-06 21:35
vikas amin4-Jan-06 21:35 
GeneralRe: Enter Key press on a button does not activate it Pin
GayathriNaveen4-Jan-06 23:00
GayathriNaveen4-Jan-06 23:00 
GeneralRe: Enter Key press on a button does not activate it Pin
Owner drawn4-Jan-06 23:12
Owner drawn4-Jan-06 23:12 
Questionhow to conect devlopment work station to target device Pin
birajendu4-Jan-06 18:54
birajendu4-Jan-06 18:54 
QuestionCAsyncSocket Pin
jianxin08054-Jan-06 18:49
jianxin08054-Jan-06 18:49 
AnswerRe: CAsyncSocket Pin
Prakash Nadar4-Jan-06 22:04
Prakash Nadar4-Jan-06 22:04 
QuestionA question Pin
pantao5514-Jan-06 16:52
pantao5514-Jan-06 16:52 
AnswerAn answer Pin
PJ Arends4-Jan-06 16:59
professionalPJ Arends4-Jan-06 16:59 
GeneralAn answer TO an Answer Pin
Owner drawn4-Jan-06 17:01
Owner drawn4-Jan-06 17:01 
GeneralRe: An answer TO an Answer Pin
Prakash Nadar4-Jan-06 17:41
Prakash Nadar4-Jan-06 17:41 
GeneralRe: An answer Pin
pantao5514-Jan-06 18:42
pantao5514-Jan-06 18:42 
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 
HOW WHAT wrote:
one window, can change the size, where use the SetWindowRgn()?


Hmm didn't get you.


HOW WHAT wrote:
2, i want paint it gradient background


You can use GradientFill function for this purpose.

HOW WHAT wrote:
because the window can change the size, when the size is changed, i need redraw the background, how to do?


To redraw background on size change just handle WM_ERASEBKGND and return TRUE to indicate to the application that you have done the background drawing.

Love Forgives--Love Gives--Jesus is Love Smile | :)
<marquee direction="up" height="50" scrolldelay="1" step="1" scrollamount="1" style="background-color:'#44ccff'">
--Owner Drawn
--Nothing special
--Defeat is temporary but surrender is permanent
--Never say quits
--Jesus is Lord


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 

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.