|
Well, I did type "zipped" first, but I figured it wouldn't be as accurate as .tar. Besides, I know you know Unix, so why not use the best means of communication?
But then again, I could've used the term "stuffed". You're a Mac user too, aren't you?
|
|
|
|
|
Jörgen Sigvardsson wrote: But then again, I could've used the term "stuffed". You're a Mac user too, aren't you?
Yeah, but then people would start looking at you funny as they do me (ok, maybe that's not the reason).
Jeremy Falcon
|
|
|
|
|
I do
this->AnimateWindow(5000, AW_BLEND);
and I got error message above, I tried to add user32.lib in linker and include winuser.h but no luck, what I've done wrong?
|
|
|
|
|
HMODULE hMod= GetModuleHandle(_T("USER32.DLL"));<br />
if (hMod!=NULL)<br />
fptr= (ANIMWINDOW)GetProcAddress(hMod, _T("AnimateWindow"));<br />
else<br />
fptr= NULL;
//In the header file declare a function as in the global section.
<br />
typedef BOOL (WINAPI* ANIMWINDOW)(HWND,DWORD,DWORD);
//And in the variables declaration of the class in the public/protected section.
<br />
ANIMWINDOW fptr;<br />
I hope this will help you.
Somethings seem HARD to do, until we know how to do them.
_AnShUmAn_
|
|
|
|
|
(pretty complicated code for me)
Compiled without any error
but how do I use it?
|
|
|
|
|
Its not part of CWnd try this out :-
::AnimateWindow(HWND hwnd,DWORD dwTime,DWORD dwFlags);
Check the Req:-
Requirements <br />
Windows NT/2000: Requires Windows 2000.<br />
Windows 95/98: Requires Windows 98.<br />
Windows CE: Unsupported.<br />
Header: Declared in winuser.h; include windows.h.<br />
Library: Use user32.lib.
Regards,
FarPointer
Blog:FARPOINTER
|
|
|
|
|
same error, with a new error talking about something does not declear in global scope
|
|
|
|
|
You will need an updated copy of the Platform SDK installed to use pretty much any functions that were added after the first release of Windows 95. You may also have to tweak the _WIN32_WINDOWS and _WIN32_WINNT values to get the right code included.
Peace!
-=- James If you think it costs a lot to do it right, just wait until you find out how much it costs to do it wrong! Avoid driving a vehicle taller than you and remember that Professional Driver on Closed Course does not mean your Dumb Ass on a Public Road! DeleteFXPFiles & CheckFavorites (Please rate this post!)
|
|
|
|
|
try calling like this
AnimateWindow( m_hWnd, 5000, AW_BLEND);
nave
|
|
|
|
|
|
whats the error now?
nave
|
|
|
|
|
|
try including Windows.h
nave
|
|
|
|
|
Whats application type?
whitesky
|
|
|
|
|
I use MFC Wizard to create dialog
|
|
|
|
|
see AnShUmAn_ answer i think it work in your program
whitesky
|
|
|
|
|
I set WINVER to 0x500 and _WIN32_WINNT to 0x500 and it works
|
|
|
|
|
I write CAD software. I use C++. I am not very good at it!
And I have a question.
My software is need to manage, say, n number of AutoCAD files as one project. I extract the same kind of information from each drawing and keep it in another file for future use. I call this resulting files my Project file. From each drawing file I extract data that can be fit into a structure that looks like this:
typedef float point[2];<br />
struct FileData{<br />
char FileName[MAX_SIZE];<br />
int ElementHandles[A][B];<br />
point ElementLocation[A][B];<br />
}
A project can have any number of files. I am currently using a vector of type FileData to store my info at runtime and write data to the project files as memory mapped file when I am done processing.
How do you guys suggest I do it? Any other ideas?
Abhishek
-- modified at 6:38 Tuesday 27th June, 2006
|
|
|
|
|
Hello,
I'm experiencing a trouble while setting a hook procedure form an NT Service. Hook procedure is intended to capture keyboard events (WH_KEYBOARD). Thread, that installs the hook, calls SwitchDesktop to switch to desktop, that receives user input. SetWindowsHookEx returns non-null hook handle, but the hook procedure is not ever called. Are there any prerequisites I'm missing?
|
|
|
|
|
Is it a SytemWideHook or ThreadSpecific Hook and were is the hook procedure
present.
Regards,
FarPointer
Blog:FARPOINTER
|
|
|
|
|
This is a system-wide hook, the hook procedure resides in a DLL. This DLL is loaded by a service, then the hook is installed.
|
|
|
|
|
I would start by creating a little app and running it under the debugger. Make sure you see your hook's DLL getting loaded into the running process. If not, then the hook is not getting installed correctly.
If it is being loaded into the running process, then perhaps the way the events are being filtered is incorrect?
Also, what desktop are you in when the hook is installed? Generally, hooks only work in the desktop that the hook is installed in.
Peace!
-=- James If you think it costs a lot to do it right, just wait until you find out how much it costs to do it wrong! Avoid driving a vehicle taller than you and remember that Professional Driver on Closed Course does not mean your Dumb Ass on a Public Road! DeleteFXPFiles & CheckFavorites (Please rate this post!)
|
|
|
|
|
u can specify the ALLOW_OTHER_ACCOUNT_HOOK and make the service interractive to input desktop
hello
|
|
|
|
|
I am not familiar with the ALLOW_OTHER_ACCOUNT_HOOK in the context of hooks, and MSDN is not helping me here. Where is this value documented?
Peace!
-=- James If you think it costs a lot to do it right, just wait until you find out how much it costs to do it wrong! Avoid driving a vehicle taller than you and remember that Professional Driver on Closed Course does not mean your Dumb Ass on a Public Road! DeleteFXPFiles & CheckFavorites (Please rate this post!)
|
|
|
|
|
http://support.microsoft.com/kb/163892/EN-US/
hello
|
|
|
|