|
thanks
yes it's very easy to fill a ellipse with current selected brush.
in fact my problem it's to do a pie chart. I draw a pie chart with 3 parts. How i can fill with colore each parts??
|
|
|
|
|
jerome_data wrote: I draw a pie chart with 3 parts. How i can fill with colore each parts??
Can you call Pie() three times, using a different brush each time?
[edit]
I just tried this and it worked fine.
[/edit]
"Approved Workmen Are Not Ashamed" - 2 Timothy 2:15
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
|
|
|
|
|
yes it's work very fine thanksssss
i need to do now a code to calculate coordinate point from a percent value.
thanks
|
|
|
|
|
jerome_data wrote: i need to do now a code to calculate coordinate point from a percent value.
See this article[^]
|
|
|
|
|
bob16972 wrote: Can you use FillRect() for an Ellipse
Sure you can! It has the side-effect of squaring off the ellipse's corners though
"Posting a VB.NET question in the C++ forum will end in tears." Chris Maunder
|
|
|
|
|
In my project, there are some kinds of data needed to be export to excel,html and word documents, and I want to produce these files without installing excel or word program.Does anyone know suitable active controls that can do this job effectively?
Developing environment:Visual C++ 6 with MFC.
|
|
|
|
|
throne888 wrote: ...I want to produce these files without installing excel or word program.
Which will require you to know the format of those files. There may indeed be a solution, but I don't know of any other way except through Office Automation.
"Approved Workmen Are Not Ashamed" - 2 Timothy 2:15
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
|
|
|
|
|
Hi ,
I am trying to build a win32 application with a GUI like photoshop's , where there are those tool windows , which are always active ( highlighted ) .
Should i be using MDI ?
Also , where can i find resources to help me build a more PRO GUI for my applications ?
Thanks in advance
|
|
|
|
|
Try CodeJock Xtreme toolkitPro, there is an adobe sample in it.
|
|
|
|
|
Check out this extended window style:
WS_EX_TOOLWINDOW Creates a tool window, which is a window intended to be used as a floating
toolbar. A tool window has a title bar that is shorter than a normal title bar, and the window
title is drawn using a smaller font. A tool window does not appear in the task bar or in the
window that appears when the user presses ALT+TAB.
"Posting a VB.NET question in the C++ forum will end in tears." Chris Maunder
|
|
|
|
|
thanks ,
actually this [^] is what i was looking for
|
|
|
|
|
That's it! That's a good link - thank you for sharing!
Mark
"Posting a VB.NET question in the C++ forum will end in tears." Chris Maunder
|
|
|
|
|
Hi,
can you halp me finding good article (way) how to get system metrics (Volume serial number, processor ID , type of operating system, etc... )
thanks
|
|
|
|
|
Zilo(svk) wrote: can you halp me finding good article (way) how to get system metrics (Volume serial number, processor ID , type of operating system, etc... )
DiskId32
GetVersionEx()
"Approved Workmen Are Not Ashamed" - 2 Timothy 2:15
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
|
|
|
|
|
Thanx. Isn't there an easier way how to get the HDD Serial number ?
|
|
|
|
|
Zilo(svk) wrote: Isn't there an easier way how to get the HDD Serial number ?
Possibly, but then it may not work on so many platforms. Have a look at the Win32_LogicalDisk WMI class.
"Approved Workmen Are Not Ashamed" - 2 Timothy 2:15
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
|
|
|
|
|
|
Lookup WMI (Windows Management Instrumentation) in MSDN.
|
|
|
|
|
Maybe this[^] link will be helpful for you
|
|
|
|
|
Dear All,
I want to develop a module in which I can block the number of ports (or all )according to requirement as well as open those ports. It must works for Windows XP(SP1/SP2)and above.
I have gone through Developing Firewalls for Windows 2000/XP By Jesús O.. article on codeproject, but it doesn't satisfy my criteria. Is there any other/simple method to block the ports?
Please help me. I am totally stucked on this point.
ThankYou In Advace.
Regards,
CraZyToLearn
|
|
|
|
|
Maybe this link will help: Firewall for Windows[^]
"Posting a VB.NET question in the C++ forum will end in tears." Chris Maunder
|
|
|
|
|
Can u please tell me how to debug multithreaded application in vc++?
Regards
Trinadh
|
|
|
|
|
What seems to be the problem?
"It's supposed to be hard, otherwise anybody could do it!" - selfquote "High speed never compensates for wrong direction!" - unknown
|
|
|
|
|
The problem is if i put break point in function i am not able to find whether the function is accessing my multiple threads or not. My friend told that there is a procedure for debugging like putting one thread suspended like that.. if u know any procedure please let me know.
|
|
|
|
|
trinadh_t wrote: The problem is if i put break point in function i am not able to find whether the function is accessing my multiple threads or not.
How is the function supposed to "access" multiple threads?
Do you by any chance mean "the function being called from multiple threads"?
How do you expect your code to behave, how have you implemented that and what happens that you didn't expect?
trinadh_t wrote: My friend told that there is a procedure for debugging like putting one thread suspended
Well, you can suspend desired thread while debugging but I doubt it would help you here. It would probably make the problem harder to detect.
If you want to know from which thread a certain function is being called, I suggest you write the ID of the thread to the debug window; e.g.
TRACE( "MyFunctionName called from thread 0x%x.\n", ::GetCurrentThreadId() );
"It's supposed to be hard, otherwise anybody could do it!" - selfquote "High speed never compensates for wrong direction!" - unknown
|
|
|
|