|
At one point I hide the Cdialogs.....pDlg->SHowWIndow(SW_HIDE);
Later when the user definitely decides he is going through with a certain action, I want to destroy them (modeless) pDlg->DestroyWindow();
Do I have to do a SHowWIndow(SW_SHOW) right before I destroy, or can I go ahead and destroy the hidden CDlg?
Thanks
Appreciate your help,
ns
|
|
|
|
|
No need to show the window. Just point your AK47 at it and KABOOM.
/ravi
Let's put "civil" back in "civilization"
http://www.ravib.com
ravib@ravib.com
|
|
|
|
|
Its FRidayyyyyyyy! Whatcha doing today? Is it time to go home yet............?
Appreciate your help,
ns
|
|
|
|
|
Heh. Worked from home yesterday, and hacked late into the night! Decided to have cereal at 2:00am and realized I was out of milk.
But on the bright side, I'm having fun with Xerces and Doxygen. Now I have to fight fresh snow during my 1.5 hour drive into Cambridge. Wheeeeee!
Have a great weekend!
/ravi
Let's put "civil" back in "civilization"
http://www.ravib.com
ravib@ravib.com
|
|
|
|
|
yup - doxygens cool...I havent fully explored it...drive safely....70 Deg F here....
Appreciate your help,
ns
|
|
|
|
|
Hey, does anyone know how to close a certain program that is running. I am making a toolbar to contol Kazaa and I found out how to open Kazaa but now I need to know how I can close it. Is there a message I send?? Thanks for any help.
|
|
|
|
|
Try using CWnd::FindWindow() to find its main window, then SendMessage() it a WM_CLOSE .
/ravi
Let's put "civil" back in "civilization"
http://www.ravib.com
ravib@ravib.com
|
|
|
|
|
|
Nice! Thanks for the link!
/ravi
Let's put "civil" back in "civilization"
http://www.ravib.com
ravib@ravib.com
|
|
|
|
|
Wow, thanks for the quick posts guys
|
|
|
|
|
Hello
It's a standard mfc control ? See a smaple a http://www.bacad.ch/listing.jpg
How can i implement it ?
thanks you
|
|
|
|
|
|
That's an explorerbar
http://www.exontrol.com
|
|
|
|
|
Hi there,
I'm interested in making a MS GINA replacement and using CryptoAPI. Can anyone tell me is it possible to use CryptoAPI calls before the user log in? Thank you very very much.
Also appreciate for any pointers.
Will
|
|
|
|
|
You can use almost all API's so I guess you can use the CryptoAPI from the GINA.
The problem, from a GINA dll, is often that a specific service not has started yet, and therefore you cannot do some things, so wait a bit and try again.
I have noticed a major difference between Win2k and WinXP when working with a GINA dll, there's things that is not started up in XP before the user logs on.
I mean, I have developed a GINA that uses voice auth. to log the user on. On Win2k it works fine, but XP reports that there are no soundcard present. The sound drivers don't get loaded before the first person logs on. (That makes it kinda difficult to record the users voice )
I use a virtual PC when developing GINA dll's, then I can do remote debugging, and actually single-step through the logon procedure
- Anders
Money talks, but all mine ever says is "Goodbye!"
|
|
|
|
|
one simple Q:
does .net use a lots COM ?
if so, i will not touch it.
thx
includeh10
|
|
|
|
|
And by the way what is wrong with COM?
|
|
|
|
|
Friends,
I want to use USES_CONVERSION macro and A2W/W2A macros in my Console application using Visual C++ 6.0. Can anyone tell me that in which header file these macros are declared ??
I am doing same in Visual C++ .NET and including header file atlbase.h and my program works normally.
But strange that whenever i include this header file in my Visual C++ 6.0 app, the compiler starts giving me errors in this headerfile. I am copying the first error below:
VC98\ATL\INCLUDE\atlconv.h(125)error C2440: 'return' : cannot convert from 'const char *' to 'const unsigned short *'
This should be noted i want to make both programs i.e VC++ 6.0 sample and VC++ 7.0 sample as UNICODE apps, and i have latest platform SDK installed.
|
|
|
|
|
Have you defined both UNICODE and _UNICODE macros?
Joaquín M López Muñoz
Telefónica, Investigación y Desarrollo
|
|
|
|
|
USES_CONVERSION;
BSTR b = T2OLE("blbla");
http://www.exontrol.com
|
|
|
|
|
in my app, i need to run netscape browsers, of course, i need to find its exe file first.
i find the browser is really silly.
in version 4.5, it is named "netscape.exe" and in version 8.0, it is "netscp.exe".
if u have other versions of the browser, please let me know its exe name.
thx
includeh10
|
|
|
|
|
Netscape Version 6.0:
Netscape\Netscape 6\netscp6.exe
-Dominik
_outp(0x64, 0xAD);
and
__asm mov al, 0xAD __asm out 0x64, al
do the same... but what do they do??
|
|
|
|
|
I want to add some text to the end of a text file. The problem is that instead of adding, the program deletes the previous text and than writes the new text at the beginning of the file. What am I missing? Here's the code:
CStdioFile file;
file.Open("myfile.txt", CFile::modeCreate | CFile::modeReadWrite);
CString line = "bla-bla";
file.SeekToEnd();
file.WriteString(line);
file.Close();
|
|
|
|
|
CFile::noTruncate
Roger Allen
Sonork 100.10016
Were you different as a kid? Did you ever say "Ooohhh, shiny red" even once? - Paul Watson 11-February-2003
|
|
|
|
|
Hy everybody!
I have a litle problem here in my program, and I wondering if anyone could help me. Here it goes.
I have an application (my own, my precioussss ), and when I make use of an Dll or something else that create another dialog (invisible, I think) for making an connection or something, my application loses his focus
Does anyone knows how can I make my application don't loses his focus in this situation?
thanks for your attention,
cheers!
Ricky
|
|
|
|