Tech Support > Microsoft Windows > Development Resources
Force hard drive on
Posted on September 15th, 2006 | 0 Comments

Is there a simple, reliable way to force the hard drive on from within a program? The problem is slow access after power management has shut it down. Obviously, I could just read from a file... as...

tristate check box
Posted on September 15th, 2006 | 0 Comments

I have a tristate check box.The default behavour of tristate check box in windows is that, the grayed check box will become unchecked after click on grayed check box. But i want , the grayed check...

Command line arguments of a remote system process.
Posted on September 15th, 2006 | 0 Comments

HI, I want to get Command Line arguments of a remote system process using Windows SDK. If you know how to get it, please let me know. I am able to get Command Line arguments of a running process...

API docs as .hlp or .chm up to recent versions?
Posted on September 15th, 2006 | 1 Comments

"Michael Butscher" <mbutscher@gmx.de> wrote in message news:4509a5e4$0$26961$9b4e6d93@newsspool4.arcor-online.net It certainly contains docs. You can order it on CD for the cost of shipping and...

Dynamically resizing window based on string length
Posted on September 15th, 2006 | 2 Comments

ajcrm125 wrote: If rectangle can't handle the text, your text will be clipped (unless DT_NOCLIP is specified). GetClientRect() gives you the client area of the window, but you should rather choose...

How to avoid EN_CHANGE notifications when sending WM_SETTEXT ?
Posted on September 15th, 2006 | 5 Comments

Ivan Vecerina wrote: I have once (years ago) implemented superclassed edit control, which has among few other things such feature that you could conjugate one editbox with another so when you type...

need help with DrWatson log
Posted on September 14th, 2006 | 1 Comments

rokotov@ukr.net wrote: It's difficult to say based on this info alone, but the most obvious conclusion is a NULL pointer based on the fault location and register content. At the point of the...

About "CryptProtectData()" function
Posted on September 14th, 2006 | 1 Comments

The encrypted data is not a string - it's an array of bytes which may contain null characters, but won't have a null terminator, so you can't treat it as a null terminated string. Additionally you...

Q: resize ListView to show all items
Posted on September 14th, 2006 | 5 Comments

Charles Calvert <cbciv@yahoo.com> wrote: That did it :) Even tho those two pixels were not the border, one pixel was! And of course the other one at the bottom. Not sure why I did not think of that...

Manually triggering a column click in a listview
Posted on September 14th, 2006 | 3 Comments

On 23 Jul 2006 07:58:28 -0700, "Zaxon" <google.com@zaxon.e4ward.com> wrote in <1153666708.863625.193560@b28g2000cwb.googlegroups.com>: I'm late to the party, I know, but I can't see any reason why...

Problem with serial IO in C program in windows xp
Posted on September 14th, 2006 | 20 Comments

nleahcim@gmail.com wrote: If ReadFile() returns without error then you should read and process the data immediately (it means the data was already waiting in an input buffer, and the IO_PENDING...

How can I sort the contents of a desktop toolbar?
Posted on September 13th, 2006 | 0 Comments

I have a desktop toolbar (Windows XP Pro) on which I would like the items sorted. I would like to create a program that will sort these items. I have worked in VBA, VBScript, and some VB.Net. I...

SetWindowsHookEx local WH_CALLWNDPROCRET not getting called
Posted on September 13th, 2006 | 1 Comments

It looks like the problem is that I'm using XP 64 and you can't use these functions for spying on this OS. I wonder what the equivilant in 64 is. dcbrien@gmail.com wrote:

cut and copy through clipboard
Posted on September 13th, 2006 | 0 Comments

Hi msdn says that when a paste is performed from Explorer and cut is performed by an application, the application should stay in stand by listening for a notify through clipboard to know if explorer...

Drag and Drop OLE
Posted on September 13th, 2006 | 1 Comments

Hmm, usually you have to catch drag-drop operations as WM_DROP(?) message so you can write a code to send the message and its parameters from the topmost window to the underlying window. "Lele"...

How to create a windows hook?
Posted on September 13th, 2006 | 10 Comments

Great links (especially the first one!) Thanks! -Adam Ahmed Samieh wrote:

problem launching another process from screensaver
Posted on September 13th, 2006 | 0 Comments

I have a screen saver after the screen saver exited i want to launch a some test.exe in windows XP. I have tried it this ways 1. I wrote one saver.exe it in c# . it first launchs the...

Implementing a Clustered NT Service
Posted on September 12th, 2006 | 0 Comments

Hi, I'm developing a NT Service using .NET 2.0, its a multithreaded TCP server, this service will handle connections from many enterprise applications. The challenge is to avoid a...

System tray and log-off/shut-down
Posted on September 12th, 2006 | 5 Comments

My shutdown code takes about 5 seconds. That's not too long, I think. My theory is that Windows looks at my application and sees that the main thread has no window or event loop and thinks therefore...

Vista - DOS Virtual Device Drivers (VDD)
Posted on September 12th, 2006 | 0 Comments

Does anyone know if support for legacy VDDs has been dropped from Vista. I've hunted everywhere but they seem to have been removed from the MSDN documentation. We have a legacy application that uses...