Click here to Skip to main content
16,005,389 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Generaldocumentation of jpeg format Pin
includeh1031-May-04 6:54
includeh1031-May-04 6:54 
GeneralRe: documentation of jpeg format Pin
Nirav Doshi31-May-04 9:11
Nirav Doshi31-May-04 9:11 
GeneralRe: documentation of jpeg format Pin
includeh1031-May-04 9:49
includeh1031-May-04 9:49 
GeneralRe: documentation of jpeg format Pin
Nirav Doshi31-May-04 22:23
Nirav Doshi31-May-04 22:23 
GeneralGradients Pin
Archer28231-May-04 6:35
Archer28231-May-04 6:35 
GeneralRe: Gradients Pin
f6431-May-04 8:00
f6431-May-04 8:00 
GeneralRe: Gradients Pin
TrungHuynh31-May-04 13:24
TrungHuynh31-May-04 13:24 
GeneralRe: Gradients The Best Pin
Sumit Kapoor31-May-04 18:04
Sumit Kapoor31-May-04 18:04 
Hi Dear...Try this..

----------------------------------------
CRect rect,rcClient;
GetClientRect(rcClient);
rect = rcClient;
int r1=32,g1=108,b1=244; //Any start color
int r2=5,g2=55,b2=165; //Any stop color

for(int i=0;i<rect.width();i++)
{=""
="" int="" r,g,b;
="" r="r1" +="" (i="" *="" (r2-r1)="" rect.width());
="" g="g1" (g2-g1)="" b="b1" (b2-b1)="" pdc-="">FillSolidRect(i,0,1,rect.Height(),RGB(r,g,b));
}

-------------------------------------------
This is not mine code, I'm also user of this code...but work nice...
OK! Good Bye


---Sumit Kapoor--- sumit_kapoor1980@hotmail.com
GeneralRe: Gradients The Best Pin
Archer28231-May-04 18:09
Archer28231-May-04 18:09 
GeneralRe: Gradients The Best Pin
Sumit Kapoor31-May-04 19:25
Sumit Kapoor31-May-04 19:25 
GeneralRe: Gradients The Best (Mistake due to HTML) Pin
Sumit Kapoor31-May-04 18:19
Sumit Kapoor31-May-04 18:19 
GeneralRe: Gradients Pin
Rick York1-Jun-04 10:37
mveRick York1-Jun-04 10:37 
QuestionHow to add Controls in CView Pin
RedDragon2k31-May-04 4:59
RedDragon2k31-May-04 4:59 
AnswerRe: How to add Controls in CView Pin
valikac31-May-04 6:54
valikac31-May-04 6:54 
AnswerRe: How to add Controls in CView Pin
includeh1031-May-04 6:58
includeh1031-May-04 6:58 
AnswerRe: How to add Controls in CView Pin
David Crow1-Jun-04 4:03
David Crow1-Jun-04 4:03 
AnswerRe: How to add Controls in CView Pin
Anonymous1-Jun-04 9:47
Anonymous1-Jun-04 9:47 
Generalcommand line arguement for Win32 Pin
Member 115017631-May-04 4:58
Member 115017631-May-04 4:58 
GeneralRe: command line arguement for Win32 Pin
valikac31-May-04 6:55
valikac31-May-04 6:55 
GeneralRe: command line arguement for Win32 Pin
Member 115017631-May-04 17:59
Member 115017631-May-04 17:59 
GeneralRe: command line arguement for Win32 Pin
David Crow1-Jun-04 4:06
David Crow1-Jun-04 4:06 
GeneralRe: command line arguement for Win32 Pin
valikac1-Jun-04 6:42
valikac1-Jun-04 6:42 
GeneralRe: command line arguement for Win32 Pin
Nirav Doshi31-May-04 9:18
Nirav Doshi31-May-04 9:18 
GeneralDisplaying console of service applications Pin
Krishnan V31-May-04 4:44
Krishnan V31-May-04 4:44 
GeneralRe: Displaying console of service applications Pin
valikac31-May-04 6:56
valikac31-May-04 6:56 

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.