|
What was return value of DrawImage ?
|
|
|
|
|
Image myImage(L"c:\\GMap_View_20060906.eps");
The lastvalue of myImage = OutOfMemory.
|
|
|
|
|
Im not sure you can load EPS with Image,but on the Codeproject is an article CXImage did you see it it can opens some graphic files.
|
|
|
|
|
Did you initialized gdi plus ? the code seems to be ok.
If u can Dream... U can do it
|
|
|
|
|
Hi All,
How to calculate the total number of vertical and the total number of horizontal lines in a .png file?
Please help..
Thanks
|
|
|
|
|
Please refer here[^].
Regards,
Paresh.
|
|
|
|
|
Hi,
I want to add a slider control as a toolbar button in the toolbar. Can anyone please tell me how to do that. I am using SDI/MDI window.
|
|
|
|
|
|
|
Did you search this site yourself before asking?
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997 ----- "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001
|
|
|
|
|
John Simmons / outlaw programmer wrote: Did you search this site yourself before asking?
bang bang
|
|
|
|
|
|
how to create c# code in the msi installer setup using vc8.
Rajarishi
|
|
|
|
|
Can you more explain,please?
|
|
|
|
|
How to Check Baterry status of LAPTOP programatically ?? Any APIs are available ??
thanks
|
|
|
|
|
Windows Management Instrumentation (WMI) has it all.
Specifically you probably want to check out
Class name = "Win32_PortableBattery"
Property name = "EstimatedChargeRemaining"
WMI is DCOM based so it's a bit tricky to get started so be prepared for a fair amount of research, especially if you've not entered the realm of COM before.
Good luck.
|
|
|
|
|
See this[^] site it has an article that on that article you can see Win32_* but its not english.
|
|
|
|
|
saksp wrote: How to Check Baterry status of LAPTOP programatically ?? Any APIs are available ??
look at simple api GetSystemPowerStatus
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
Support CRY- Child Relief
|
|
|
|
|
Thanks , Using this my problem is solved.
thanks
|
|
|
|
|
I want to display pixel data in a static control on a dialog.
can anybody....help me out in this
Ashok
|
|
|
|
|
Im not sure do you need to SetPixelV ?
|
|
|
|
|
what do you mean by pixel data? Is it simply an image? Can you convert it to HBITMAP? If so you can use SetBitmap API of CStatic.
- NS -
|
|
|
|
|
Yes..its an image data .
I am receiving continously...I need to display as and when I revceive.
thanks in advance
Ashok
|
|
|
|
|
If you can convert it to bitmap, then as I early mentioned, you can use SetBitmap.
Another option is that customize the static control (deriving from CStatic) and put each pixel in to the DC in OnPaint(). SetPixelV API can be used for that.
- NS -
|
|
|
|
|