|
sorry my friends, I use a checkbox now, but same thing happens again.
Q:when the checkbox lost focus, if it's on state, it will become off state. while I want it to keep its on state until I press it again.
help me!
|
|
|
|
|
Hi,I have some trouble!Please help me!
When I run command promt(cmd.exe),I can open a text file by typing,example : C:\>type Text.txt
Then, it will open the Text.txt in that command prompt window!
How can I do that in MFC Application!Example,When I press a button,it'll open command prompt!And then,the command prompt will automatic open the specified Text file!
Please,Help me!!!
|
|
|
|
|
Use ShellExecute to start the command prompt.
Pass the command as a command line argument to the command prompt with the switch /k turned on.
for eg:
cmd /k type help.txt
or
cmd /k dir
Nibu thomas
Software Developer
|
|
|
|
|
Ok!I got it!
Thank A lot !!!
|
|
|
|
|
Hi All,
Can anyone suggest me a way to record audio lively from microphone using DirectShow?
Thanks,
Poornima
|
|
|
|
|
|
I've been trying to learn a bit of MDI , but I'm failing everytime. Anybody has links where I can learn MDI with a simple Example? I want to learn SDI with Multiple views too. Any help?
NULL
|
|
|
|
|
Search CP with the keyword MDI and see what happens.
Nibu thomas
Software Developer
|
|
|
|
|
Really poor response for the 'MDI' search . Did you search ? I actually needed a SIMPLE MFC MDI application.
NULL
|
|
|
|
|
|
Seriously I hate DOC/VIEW, MDI stuff
NULL
|
|
|
|
|
|
|
The link which is at the top, (developer.com) is excellent, and down to earth. Really superb , but it would have been better if he had continued deeper. Anyway it gave me a good basic idea about MDIs. Thanks again.
NULL
|
|
|
|
|
Hi
I tried to make a Native application with the help of following links:
http://www.codeproject.com/system/idd.asp AND
http://www.sysinternals.com/Information/NativeApplications.html
Here did settings and include library files for DDK.
and compile the program and compiled successfully, but when build the program it gives following error
Linking...<br />
LINK : error LNK2001: unresolved external symbol _DriverEntry@8<br />
hello.obj : error LNK2001: unresolved external symbol _NtTerminateProcess@8<br />
hello.obj : error LNK2001: unresolved external symbol _NtDisplayString@4<br />
Release/hello.exe : fatal error LNK1120: 3 unresolved externals<br />
Error executing link.exe.<br />
<br />
hello.exe - 4 error(s), 0 warning(s)<br />
So Please tell me that how to remove these errors.
Thanks
|
|
|
|
|
Have you linked to the necessary libraries?
Nibu thomas
Software Developer
|
|
|
|
|
Ya, have linked necessary libraris
ntoskrnl.lib hal.lib ,
Please help.
Thanks
|
|
|
|
|
rajeevktripathi wrote: Ya, have linked necessary libraris
ntoskrnl.lib hal.lib ,
You are missing something! Do check again for the required libraries.
Nibu thomas
Software Developer
|
|
|
|
|
hai everyone
i would like to know how can have different colors for the items present in a list control
|
|
|
|
|
|
Whitesky gave you a good link. But for starters this[^] one by Michael will help you a lot.
Nibu thomas
Software Developer
|
|
|
|
|
Friends,
When we create a PropertySheet, the tabs appear on the top. I want to show tabs at the bottom just like tabs of Visual Studio workspace window. How can i do so ?
Imtiaz
|
|
|
|
|
u can get the tabcontrol of a property page using GetTabControl()..
Then just set the TCS_BOTTOM style
m_GetTabControl()->ModifyStyle( 0, TCS_BOTTOM );
nave
|
|
|
|
|
It worked (y) Thanks...
Imtiaz
|
|
|
|
|
Hi,
Use TCS_BOTTOM style. This style is not supported if you use ComCtl32.dll version 6 (Refer MSDN).
Adios,
Cool Ju
Dream Ur Destiny
|
|
|
|