February 26th, 2013 10:15 PM
I want to set font size and font color for button in MFC. But MFC differrent from win32. It have no font style in property. please help me , How set font color and font size for button in MFC ?
February 17th, 2013 11:56 PM
I want to read and write value on serail port to Microcontroller with MFC. The MFC have no serial port tool like in VB Professionnal edition. I try to find MFC connect serial port example but I not...
February 17th, 2013 09:07 PM
I want to sendmassege to click select check box. I can click buttton but I don't know how to select check box with VC.
February 15th, 2013 12:54 AM
I use Spy++ with button in Microsoft Security Essential it show like this
I use FindWindowEx() like this cb = FindWindowEx(w,NULL,NULL,_T("&Scan now")); but it not found Control.
February 14th, 2013 09:42 PM
I want to open Microsoft Security Essential program and click Scan now button with VC . I can find window but Can't find control. This is my code when I run this code it show Control not found . I...
February 12th, 2013 10:52 PM
C:\>"c:\users\pkru\documents\visual studio 2010\Projects\CleanVirus\Debug\CleanVirus.exe"
is my project name in VC which FindWindow() read title from
And the code unhidden.bat is
February 12th, 2013 09:54 PM
I use MFC Find console window and send key to console like this.
HWND w;
w = FindWindow(NULL, L"c:\\users\\pkru\\documents\\visual studio 2010\\Projects\\CleanVirus\\Debug\\CleanVirus.exe");...
February 11th, 2013 11:42 AM
Thank you for answer. I use this code in VC
int _tmain()
{
system("D:");
_tprintf(GetCommandLine());
getch();
return 0;
}
February 11th, 2013 03:33 AM
I want to read sentence from command line. I open some program which run in command line and I have to wait for that program process. So , I don't know when process success .I can't type next command...
February 8th, 2013 03:20 AM
How to use CreateProcess . I read example and try to use the function like this
DWORD WINAPI hidden_file(LPVOID lp)
{
STARTUPINFO si;
PROCESS_INFORMATION pi;
ZeroMemory( &si,...
February 7th, 2013 10:29 PM
I want to run Unhidden.exe in drive N: and send char to that program. I use function like this
system("N:/Unhidden.exe"); it can open Unhidden.exe but it run in visual studio 2010\Projects\ . I...
February 7th, 2013 03:21 AM
February 7th, 2013 12:19 AM
I can use WriteConsoleInput() in console application. But when I try to use writeConsoleInput() in MFC it not type any thing in command window. This's my code.
DWORD WINAPI test(LPVOID lp)
{
...