Click here to Skip to main content
15,899,314 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Handle of an item in tree view. Pin
Ray Kinsella3-Jan-07 11:15
Ray Kinsella3-Jan-07 11:15 
QuestionMFC /CRecordset Pin
Bravoone_20063-Jan-07 3:13
Bravoone_20063-Jan-07 3:13 
QuestionRe: MFC /CRecordset Pin
David Crow3-Jan-07 4:11
David Crow3-Jan-07 4:11 
AnswerRe: MFC /CRecordset Pin
Hamid_RT3-Jan-07 17:36
Hamid_RT3-Jan-07 17:36 
Questionbeginners inc++ Pin
ellarond3-Jan-07 3:06
ellarond3-Jan-07 3:06 
AnswerRe: beginners inc++ Pin
Hamid_RT3-Jan-07 3:55
Hamid_RT3-Jan-07 3:55 
AnswerRe: beginners inc++ Pin
David Crow3-Jan-07 4:13
David Crow3-Jan-07 4:13 
GeneralRe: beginners inc++ Pin
ellarond3-Jan-07 5:15
ellarond3-Jan-07 5:15 
thank a lot for the reply.as a beginner it is very difficult for me from where to begin.can u please explain it by giving an example.i have a code for the flag of germany for example.is this correct?
#include <graphics.h>
#include <conio.h>

void ger_flag(int, int);

void main()
{
/* request auto detection */
int gdriver = DETECT, gmode;


/* initialize graphics and local variables */
initgraph(&gdriver, &gmode, "..\\BGI");

setfillstyle(1, WHITE);
bar(0, 0, 639, 479);
ger_flag(10, 10);

getch();
closegraph();
}

void ger_flag(int x, int y)
{
setcolor(BLACK);
rectangle(x, y, x+90, y+15);
setfillstyle(1, BLACK);
floodfill(x+45, y+7, BLACK);

setcolor(RED);
rectangle(x, y+16, x+90, y+30);
setfillstyle(1, RED);
floodfill(x+45, y+25, RED);

setcolor(BROWN);
rectangle(x, y+31, x+90, y+45);
setfillstyle(1, BROWN);
floodfill(x+45, y+40, BROWN);

}
QuestionRe: beginners inc++ Pin
David Crow3-Jan-07 5:31
David Crow3-Jan-07 5:31 
AnswerRe: beginners inc++ Pin
ellarond3-Jan-07 6:16
ellarond3-Jan-07 6:16 
GeneralRe: beginners inc++ Pin
David Crow3-Jan-07 7:42
David Crow3-Jan-07 7:42 
GeneralOT Pin
Astricks3-Jan-07 3:05
Astricks3-Jan-07 3:05 
GeneralRe: OT Pin
Hamid_RT3-Jan-07 3:55
Hamid_RT3-Jan-07 3:55 
GeneralRe: OT Pin
Astricks3-Jan-07 5:24
Astricks3-Jan-07 5:24 
GeneralRe: OT Pin
toxcct3-Jan-07 10:23
toxcct3-Jan-07 10:23 
GeneralRe: OT Pin
Astricks3-Jan-07 19:51
Astricks3-Jan-07 19:51 
QuestionResize a control programatically Pin
Fabricem3-Jan-07 3:01
Fabricem3-Jan-07 3:01 
AnswerRe: Resize a control programatically Pin
CPallini3-Jan-07 3:27
mveCPallini3-Jan-07 3:27 
GeneralRe: Resize a control programatically Pin
Fabricem3-Jan-07 3:43
Fabricem3-Jan-07 3:43 
GeneralRe: Resize a control programatically Pin
CPallini3-Jan-07 4:13
mveCPallini3-Jan-07 4:13 
AnswerRe: Resize a control programatically Pin
Hamid_RT3-Jan-07 3:54
Hamid_RT3-Jan-07 3:54 
GeneralRe: Resize a control programatically Pin
Fabricem3-Jan-07 3:59
Fabricem3-Jan-07 3:59 
GeneralRe: Resize a control programatically Pin
Hamid_RT3-Jan-07 17:32
Hamid_RT3-Jan-07 17:32 
AnswerRe: Resize a control programatically Pin
David Crow3-Jan-07 4:15
David Crow3-Jan-07 4:15 
Questionwindows service registration ? Pin
Sakthiu3-Jan-07 2:40
Sakthiu3-Jan-07 2:40 

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.