|
Seriously? You have no control over the app that pops up this window???
|
|
|
|
|
Hi!
what is the problem for calling the CreateHardlink function?
i call this function in my project but it has "undeclared identifier" error.
i define _WIN32_WINNT in .h and .cpp files, but it has this error, yet.
#define _WIN32_WINNT 0X0500<br />
what do i do?
Zo.Naderi-Iran
|
|
|
|
|
I using CreateHardlink with #define _WIN32_WINNT 0X0500 and its compling without problem?where you declare #define
|
|
|
|
|
"#define _WIN32_WINNT 0X0500" is above ".cpp" file, what i call this function into it.
Zo.Naderi-Iran
|
|
|
|
|
If you insert it to StdAfx.h what happens?
|
|
|
|
|
valla sharmanda . man ham hamin moshkelo daram va natonestam halesh konam !
|
|
|
|
|
Hi!
i solve this problem:
in project properties, C/C++ option --> Command Line --> in "Additional options", you write: /D_WIN32_WINNT=0x0500
good luck (Ooo yesterday)
Zo.Naderi-Iran
|
|
|
|
|
See this :---> http://www.cygwin.com/ml/cygwin/2001-04/msg00779.html
|
|
|
|
|
Use this sample at :---> http://www.totalcmd.net/download.php?id=CreateHardLink
|
|
|
|
|
|
hi
i want write an application that work as a debuger.
i set a breakpointb in exe with "DebugeBreakProcess" function then i use "ContinueDebugEvent" function , But
it can not countinue execution the exe.
if you have information abut it please help me.
|
|
|
|
|
I think you can find your answer on www.Codeguru.com I think it has an article about exe files
|
|
|
|
|
Hello everybody!
I can't seem to find a reference on how the hell to do a simple operation like setting a control's "Enabled" to false... (ie, "gray" it out) In C# all you have to do is controlId.Enabled = false; , but MFC seems to handle things different... I'm being a complete n00b, but oh well... Thanks!
Windows Calculator told me I will die at 28.
|
|
|
|
|
For disable or enable you can use EnableWindow but if you want to work with controls you can declare variables for them.For example use of a Button you can declare CButton m_Button; and then m_Button.Functions Is this your question?
|
|
|
|
|
|
CButton m_Button;
m_Button.Create("Button",WS_CHILD|WS_VISIBLE,CRect(0,0,100,23),this,1);
m_Button.EnableWindow(1);
Its working
How to create your button?
|
|
|
|
|
|
Is your problem solving? and if you have a variable for your button you can use form it
|
|
|
|
|
>>Yeah, but how do I do that with the designer?
If you want it disabled by default...
Highlight the control, press F4 for the properties window, and change the Disabled property to
TRUE.
Mark
|
|
|
|
|
Alright! That solved it, thanks you two!
Windows Calculator told me I will die at 28.
|
|
|
|
|
Please tell how to change the cursor when i move it into rectangle (100,100,200,200).
Thank you for helping
all for development
|
|
|
|
|
Do you need to LoadCursor and SetCursor ?
|
|
|
|
|
//Win 32 Application
//Hello world program
CALLBACK Winproc(HWND,Message,wParam,lParam)
Switch(wId)
...
....
case WM_MOUSE:
if(condition)
{
HWND hCursor=LoadCusor(hInst,(LPSTR)IDI_NEWCURSOR);
SetCurspr(hCursor);
else
.......
When condition ==1 ,the cursor not change.
Help me.
all for development e
|
|
|
|
|
I want to help you but what question?
|
|
|
|
|
Handle WM_SETCURSOR and if the cursor is within that rect, call SetCursor() to change it.
|
|
|
|