|
Thanks Mike, I've found them, but yet, I don't have any idea on how to programatically call Uninstall like I've done it when I press the Uninstall button. Any ideas on doing that?
Thanks,
Deian
|
|
|
|
|
How do you format a number to have 2 digits, for example 1 would become 01 and 10 would stay 10. There wont be any 3 digit numbers so it doesn't have to round, just add a 0 to 1-digit numbers.
-Raffi
|
|
|
|
|
Use follows:
m_str.Format(_T("%.2d"), number);
or
m_str.Format(_T("%02d"), number);
Best regards,
Eugene Pustovoyt
|
|
|
|
|
I almost had it. I had %2d. Thanks alot
-Raffi
|
|
|
|
|
How does a person get a list of installed tape drives (and the information required for CreateFile()) in a Windows9x environment.
|
|
|
|
|
DWORD GetTapeParameters(
HANDLE hDevice,
DWORD dwOperation,
LPDWORD lpdwSize,
LPVOID lpTapeInformation
);
try the functiion..
R_Renjith The True CP ian
|
|
|
|
|
installed tape drives ... Windows9x
Using Win32 API? You don't.
Mike Don't blame me, I'm just the messenger. Blame Microsoft
|
|
|
|
|
Hi.
Is it possible to change the background color and font color of a CEditView window? Please explain.
Thanks,
Kuphryn
|
|
|
|
|
Use SetTextColor and SetBkColor.
For an example see this article at CodeProject.
-Dominik
|
|
|
|
|
I have read that tutorial. I believe it is for an edit box.
Kuphryn
|
|
|
|
|
But should also work for a CEditView. A CEditView is nothing other than a bigger CEditBox.
-Dominik
|
|
|
|
|
Hello there,
There isn’t any control or ActiveX or etc.
I just drew a jpeg file by IPicture(class interface) in background !
Then, I loaded a .bmp file from resource as usual …
CBitmap bmp;
bmp.LoadBitmap(IDB_BITMAP1);
In one of functions in my program I have to move the bitmap on the dialog !!!
Problem is when I moving the bitmap, I don’t know how could refresh that
I used Invalidate() function too, but it doesn’t work
I sent screenshot, too
Help me, please
My month article: Game programming by DirectX by Lan Mader.
Please visit in: www.geocities.com/hadi_rezaie/index.html
Hadi Rezaie
|
|
|
|
|
try
RedrawWindow()
R_Renjith The True CP ian
|
|
|
|
|
Hi there,
How can I select a RECT from a image that is in my dialog in CDC object ????
My month article: Game programming by DirectX by Lan Mader.
Please visit in: www.geocities.com/hadi_rezaie/index.html
Hadi Rezaie
|
|
|
|
|
I'm still fairly new to VC++ and MFC so I'm not sure of the correct terminology to use here.
I'm developing a Windows-based application. I would like this application to be able to detect if another instance of this application is already running and, if so, send and receive information with it. How would I do that?
|
|
|
|
|
|
Thank you! I think I can adapt this code to my needs without much trouble.
|
|
|
|
|
I want to learn how to load the defualt character in a MFC app.;P
cf
|
|
|
|
|
I want to learn how to load the defualt character in a MFC app.;P
cf
|
|
|
|
|
Hello guys, I know that it will sound stupid - but I can't find any way of clearing the selection of a ListView control the way it is before you select an item for a first time.
Thanks for your patience ,
Deian
|
|
|
|
|
ListView_SetItemState(hwndList, -1, LVIS_SELECTED, 0);
--Mike--
Just released - RightClick-Encrypt - Adds fast & easy file encryption to Explorer
Like the Google toolbar? Then check out UltraBar, with more features & customizable search engines!
My really out-of-date homepage
Sonork - 100.10414 AcidHelm
|
|
|
|
|
Thanks again Mike
Deian
|
|
|
|
|
Is there a way to subclass a groupbox so that it automaticly contain, say four CButtons. ie when I add my derived class to a dlg project it will automaticly add the four member buttons. The problem for me is how i do with the resources for these buttons.
Thanx...
|
|
|
|
|
Do you really need the resource for the buttons?
Can't you just create them from your subclass?
|
|
|
|
|
I have some code in ASM but I can change it to VC++ command, how to use ASM in VC++???
please help me!!! thanks
|
|
|
|