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

C / C++ / MFC

 
AnswerRe: devenv.exe Problem Pin
sudhir_Kumar5-Aug-08 20:38
sudhir_Kumar5-Aug-08 20:38 
QuestionMinimize in MDI application Pin
Anu_Bala5-Aug-08 20:07
Anu_Bala5-Aug-08 20:07 
AnswerRe: Minimize in MDI application Pin
sudhir_Kumar5-Aug-08 20:12
sudhir_Kumar5-Aug-08 20:12 
GeneralRe: Minimize in MDI application Pin
Anu_Bala5-Aug-08 20:19
Anu_Bala5-Aug-08 20:19 
GeneralRe: Minimize in MDI application Pin
sudhir_Kumar5-Aug-08 20:35
sudhir_Kumar5-Aug-08 20:35 
QuestionHow to cut ellipse in to four regions. Pin
pallaka5-Aug-08 19:25
pallaka5-Aug-08 19:25 
AnswerRe: How to cut ellipse in to four regions. Pin
_AnsHUMAN_ 5-Aug-08 19:42
_AnsHUMAN_ 5-Aug-08 19:42 
AnswerRe: How to cut ellipse in to four regions. Pin
Dan5-Aug-08 22:13
Dan5-Aug-08 22: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 18:56
dhanapackiyam5-Aug-08 18:56 
AnswerRe: how can i open a file(.doc or .txt or .xsl) in a dialog in MFC? Pin
nisha000005-Aug-08 19:04
nisha000005-Aug-08 19:04 
GeneralRe: how can i open a file(.doc or .txt or .xsl) in a dialog in MFC? Pin
Hamid_RT5-Aug-08 20:16
Hamid_RT5-Aug-08 20:16 
AnswerRe: how can i open a file(.doc or .txt or .xsl) in a dialog in MFC? Pin
_AnsHUMAN_ 5-Aug-08 19:05
_AnsHUMAN_ 5-Aug-08 19:05 
AnswerRe: how can i open a file(.doc or .txt or .xsl) in a dialog in MFC? Pin
Hamid_RT5-Aug-08 20:15
Hamid_RT5-Aug-08 20:15 
QuestionListing installed updates Pin
vineeshV5-Aug-08 18:15
vineeshV5-Aug-08 18:15 
AnswerRe: Listing installed updates Pin
_AnsHUMAN_ 5-Aug-08 19:01
_AnsHUMAN_ 5-Aug-08 19:01 
QuestionRe: Listing installed updates Pin
vineeshV5-Aug-08 19:15
vineeshV5-Aug-08 19:15 
AnswerRe: Listing installed updates Pin
_AnsHUMAN_ 5-Aug-08 19:26
_AnsHUMAN_ 5-Aug-08 19:26 
GeneralRe: Listing installed updates Pin
vineeshV5-Aug-08 19:38
vineeshV5-Aug-08 19:38 
QuestionTimer is getting frized on a particular functin call Pin
ptr_Electron5-Aug-08 17:55
ptr_Electron5-Aug-08 17:55 
AnswerRe: Timer is getting frized on a particular functin call Pin
Naveen5-Aug-08 18:18
Naveen5-Aug-08 18:18 
GeneralRe: Timer is getting frized on a particular functin call Pin
ptr_Electron5-Aug-08 18:33
ptr_Electron5-Aug-08 18:33 
GeneralRe: Timer is getting frized on a particular functin call Pin
Naveen5-Aug-08 18:48
Naveen5-Aug-08 18:48 
GeneralRe: Timer is getting frized on a particular functin call Pin
ptr_Electron5-Aug-08 19:07
ptr_Electron5-Aug-08 19:07 
GeneralRe: Timer is getting frized on a particular functin call Pin
Naveen5-Aug-08 19:17
Naveen5-Aug-08 19:17 
GeneralRe: Timer is getting frized on a particular functin call Pin
ptr_Electron5-Aug-08 19:29
ptr_Electron5-Aug-08 19: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.