|
How to display a tip, like the tooltips, when the cursor moves into a pane of
a spliiter window?
Thanks a lot!
Wenrich
|
|
|
|
|
Hi everyone,
Can you tell me when WindowProc() function is called in a VC++ program.
If I can use it for responding to FD_READ event when I have a read-request from my socket?
Thanks for your reading.
Naoh
|
|
|
|
|
At my school, there is a great program that, when run, deletes all the unnecessary files created by the compiler (at my school it's Borland ). I wish to make a similar program for VC++ in order to conserve space on my small 12 Gig drive. Does anyone know how to check for folders? I want to search for folders, then check for files inside them and then more folders...
Thanks,
~ Selevercin
If you have a problem with my spelling, just remember that's not my fault. I [as well as everyone
else who learned to spell after 1976] blame it on
Robert A. Kolpek for U.S. Patent 4,136,395.
|
|
|
|
|
I believe such a project exists on CP already.
Christian
No offense, but I don't really want to encourage the creation of another VB developer. - Larry Antram 22 Oct 2002
Hey, at least Logo had, at it's inception, a mechanical turtle. VB has always lacked even that... - Shog9 04-09-2002
During last 10 years, with invention of VB and similar programming environments, every ill-educated moron became able to develop software. - Alex E. - 12-Sept-2002
|
|
|
|
|
|
Thanks - I was too lazy to look for it.
Michael Dunn wrote:
"alyson hannigan is so cute it's crazy" -- Googlism
I suppose it beats dunn is a christian rock roll band, dunn is almost housebroken, dunn is a rubber, or dunn is a native florida "cracker.
Christian
No offense, but I don't really want to encourage the creation of another VB developer. - Larry Antram 22 Oct 2002
Hey, at least Logo had, at it's inception, a mechanical turtle. VB has always lacked even that... - Shog9 04-09-2002
During last 10 years, with invention of VB and similar programming environments, every ill-educated moron became able to develop software. - Alex E. - 12-Sept-2002
|
|
|
|
|
Thanks! Wow, that's exactly what I'm looking for! Maybe my dad will relax a little now about hard drive space
~ Selevercin
If you have a problem with my spelling, just remember that's not my fault. I [as well as everyone
else who learned to spell after 1976] blame it on
Robert A. Kolpek for U.S. Patent 4,136,395.
|
|
|
|
|
hi,
POST STATUS: UPDATED
in one procedure I post message to thread with wParam , the thread accepted my message, but wParam is corrupted.
Here is the code:
In the procedure
MsgParam *pSendParam=new MsgParam;
pSendParam->pBuf=pBuf;
pSendParam->nLen=nLen;
PostThreadMessage(tid,WM_HYDRO_RXD_ARRIVAL,(WPARAM)pSendParam,0);
In thread Function
case WM_HYDRO_RXD_ARRIVAL:
pRecParam=(MsgParam*)msg.wParam;
before PostThreadMessage, pSendParam is correct(in this case, it's f5f5090574a05200 ), but in case WM_HYDRO_RXD_ARRIVAL , the value is corrupted as 44bf4a5f01000000
I use heap instead of frame, for heap allocate memory for the program, therefore the memory will exist until one explitely delete it.
And I can pass an int, but can't pass a struct
How to transfer data correctly?
Extreme programming. Do the No.1
|
|
|
|
|
Did you try to use LPARAM instead?
|
|
|
|
|
Aside from the MSDN, does anyone know of a good tutorial or BOOK that does with all forms of hooking?
Esp hooking another process (outside your own) through the use of a .DLL
|
|
|
|
|
here at cp is one:
http://www.codeproject.com/system/hooksys.asp
|
|
|
|
|
Is there a pragma or something that can be used to disable the scroll of symbols loaded messages when you run in debug mode? I would prefer just to see my traces etc and not get all those messages every time.
|
|
|
|
|
Hi, I'm using CHtmlView as an active document container of Excel files, everything works as expected, except for a little problem :
If I already have an excel spreadsheet open ( inside Excel, I mean ) and the open a second spreadsheet using my app I can not longer set the focus on Excel! I tried building a bare bones app with the wizard and it has the same error.
Ideas anyone? I'm going nuts on this one
eperales
|
|
|
|
|
I think it's a simple question yet have not found ANY answers.
I would like to call
BOOL CopyFileEx(
LPCWSTR lpExistingFileName,
LPCWSTR lpNewFileName,
LPPROGRESS_ROUTINE lpProgressRoutine,
LPVOID lpData,
LPBOOL pbCancel,
DWORD dwCopyFlags
);
in my MFC app.
No luck...
what am I missing?
Thanks
|
|
|
|
|
And your problem is? Does not compile? Compiles but does not work? Blows your machine?
eperales
|
|
|
|
|
How you are using the function.....?
Why don't use SHFileOperation ?
Best Regards....
Carlos Antollini.
Pi Five[^]Creator
Sonork ID 100.10529 cantollini
|
|
|
|
|
MFC is calling Win32 stuff itself, you should be able to call any Win32 function from MFC. What you're missing is an explanation of what is going wrong, but according to MSDN it was introduced in W98, so you probably need a platform SDK installed in order to use it. ( That is to say you DO need it, and I'm guessing it's your problem ).
Christian
No offense, but I don't really want to encourage the creation of another VB developer. - Larry Antram 22 Oct 2002
Hey, at least Logo had, at it's inception, a mechanical turtle. VB has always lacked even that... - Shog9 04-09-2002
During last 10 years, with invention of VB and similar programming environments, every ill-educated moron became able to develop software. - Alex E. - 12-Sept-2002
|
|
|
|
|
If include the "winbase.h" header file the complier complains
c:\program files\microsoft sdk\include\wininet.h(297) : error C2146: syntax error : missing ';' before identifier 'dwResult'
c:\program files\microsoft sdk\include\wininet.h(297) : error C2501: 'DWORD_PTR' : missing storage-class or type specifiers
c:\program files\microsoft sdk\include\wininet.h(297) : error C2501: 'dwResult' : missing storage-class or type specifiers
thanks again
|
|
|
|
|
I have Platform SDK installed, and I had similar error, after defining:
#define WIN32_WINDOWS 0x0410
in stdafx.h (before any include) they disappeared
eperales
|
|
|
|
|
the msdn says:
To compile an application that uses this function, define the _WIN32_WINNT macro as 0x0400 or later. maybe Adding it.
|
|
|
|
|
Hi.
How do you set a window (CFormView) to start in retored mode? For example, as you click the "Maximize" icon when a window is maximized, you may retored it. I would like a window to start in retored mode.
Thanks,
Kuphryn
|
|
|
|
|
hello i have problem with using of those functions:
- CryptCreateKeyIdentifierFromCSP
- CryptEnumKeyIdentifierProperties
- CryptSetKeyIdentifierProperty
- CryptGetKeyIdentifierProperty
those functions are in MSDN sample
(ms-help://MS.MSDNQTR.2002JAN.1033/security/
security/example_c_program_working_with_key_identifiers.htm)
but after compiling it i have got 'undeclared identifier' error message.
any one could help me with this?
ps.
i already defined _CRYPT32_ and _WIN32_WINNT definitions
thx.
|
|
|
|
|
Rafal Szymanski wrote:
but after compiling it i have got 'undeclared identifier' error message.
On what? Quote the whole error message.
Most probably a missing #include.
Error 4711: Signature expired
|
|
|
|
|
ok, i fixed problem
i had got old version of wincrypt.h i crypt32.lib
so i downloaded the newest core sdk i now it's ok
|
|
|
|
|
If I have this below unsigned char* data
'xxxxxxxx' (assume x is Ascii Character)
How to change from unsigned char* to CString and how to change back from CString to unsigned char*.
Do you know how to do that?
Thank you for your reply.
|
|
|
|