Click here to Skip to main content
15,793,139 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: devenv.exe Problem Pin
sudhir_Kumar5-Aug-08 21:38
sudhir_Kumar5-Aug-08 21:38 
QuestionMinimize in MDI application Pin
Anu_Bala5-Aug-08 21:07
Anu_Bala5-Aug-08 21:07 
AnswerRe: Minimize in MDI application Pin
sudhir_Kumar5-Aug-08 21:12
sudhir_Kumar5-Aug-08 21:12 
GeneralRe: Minimize in MDI application Pin
Anu_Bala5-Aug-08 21:19
Anu_Bala5-Aug-08 21:19 
GeneralRe: Minimize in MDI application Pin
sudhir_Kumar5-Aug-08 21:35
sudhir_Kumar5-Aug-08 21:35 
QuestionHow to cut ellipse in to four regions. Pin
pallaka5-Aug-08 20:25
pallaka5-Aug-08 20:25 
AnswerRe: How to cut ellipse in to four regions. Pin
_AnsHUMAN_ 5-Aug-08 20:42
_AnsHUMAN_ 5-Aug-08 20:42 
AnswerRe: How to cut ellipse in to four regions. Pin
Dan5-Aug-08 23:13
Dan5-Aug-08 23:13 
You could use GDI+ FillPie function.
Just get the bounds of the ellipse, ie
void Draw( int px, int py, int xRadius, int yRadius )
{
     Graphics *g = ....
     Rect rcBnds( px, py, xRadius*2, yRadius*2 );
     Brush *brColor = first color;
     // Draw lower right
     g->FillPie( brColor, rcBnds, 0, 90 );
     brColor = second color;
     g->FillPie( brColor, rcBnds, 90, 180 );
     brColor = third color;
     g->FillPie( brColor, rcBnds, 180, 270 );
     brColor = last color;
     g->FillPie( brColor, rcBnds, 270, 360 );
}

Of course you can use regular GDI and Pie(), you just have to calc the points yourself, which is easy since you are just dividing into 4 parts.
Questionhow can i open a file(.doc or .txt or .xsl) in a dialog in MFC? Pin
dhanapackiyam5-Aug-08 19:56
dhanapackiyam5-Aug-08 19:56 
AnswerRe: how can i open a file(.doc or .txt or .xsl) in a dialog in MFC? Pin
nisha000005-Aug-08 20:04
nisha000005-Aug-08 20:04 
GeneralRe: how can i open a file(.doc or .txt or .xsl) in a dialog in MFC? Pin
Hamid_RT5-Aug-08 21:16
Hamid_RT5-Aug-08 21:16 
AnswerRe: how can i open a file(.doc or .txt or .xsl) in a dialog in MFC? Pin
_AnsHUMAN_ 5-Aug-08 20:05
_AnsHUMAN_ 5-Aug-08 20:05 
AnswerRe: how can i open a file(.doc or .txt or .xsl) in a dialog in MFC? Pin
Hamid_RT5-Aug-08 21:15
Hamid_RT5-Aug-08 21:15 
QuestionListing installed updates Pin
vineeshV5-Aug-08 19:15
vineeshV5-Aug-08 19:15 
AnswerRe: Listing installed updates Pin
_AnsHUMAN_ 5-Aug-08 20:01
_AnsHUMAN_ 5-Aug-08 20:01 
QuestionRe: Listing installed updates Pin
vineeshV5-Aug-08 20:15
vineeshV5-Aug-08 20:15 
AnswerRe: Listing installed updates Pin
_AnsHUMAN_ 5-Aug-08 20:26
_AnsHUMAN_ 5-Aug-08 20:26 
GeneralRe: Listing installed updates Pin
vineeshV5-Aug-08 20:38
vineeshV5-Aug-08 20:38 
QuestionTimer is getting frized on a particular functin call Pin
ptr_Electron5-Aug-08 18:55
ptr_Electron5-Aug-08 18:55 
AnswerRe: Timer is getting frized on a particular functin call Pin
Naveen5-Aug-08 19:18
Naveen5-Aug-08 19:18 
GeneralRe: Timer is getting frized on a particular functin call Pin
ptr_Electron5-Aug-08 19:33
ptr_Electron5-Aug-08 19:33 
GeneralRe: Timer is getting frized on a particular functin call Pin
Naveen5-Aug-08 19:48
Naveen5-Aug-08 19:48 
GeneralRe: Timer is getting frized on a particular functin call Pin
ptr_Electron5-Aug-08 20:07
ptr_Electron5-Aug-08 20:07 
GeneralRe: Timer is getting frized on a particular functin call Pin
Naveen5-Aug-08 20:17
Naveen5-Aug-08 20:17 
GeneralRe: Timer is getting frized on a particular functin call Pin
ptr_Electron5-Aug-08 20:29
ptr_Electron5-Aug-08 20:29 

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.