Tech Support > Microsoft Windows > Development Resources
Static control
Posted on August 3rd, 2004 | 2 Comments

Is there any way I can find out if a text in a static control is clipped. I have a static control and I want to change the width so the text is not clipped.

Windows cannot go to standby
Posted on August 3rd, 2004 | 0 Comments

Hi All, My system cannot go to standby/hibernate mode. I want to write an application, which run on any OS (98/2000/XP) to findout what device driver cause my system cannot Go to Standby/hibernate...

Getting Primary IP Address using gethostbyname()
Posted on August 3rd, 2004 | 3 Comments

I have a computer with two NIC cards installed. One card is dedicated to a particular piece of equipment and the other card, the "primary" address, is for communication with the rest of the world. I...

CreateProcess + ShowWindow
Posted on August 3rd, 2004 | 0 Comments

Hi all, I've this windows application, from which i'm spawning another application, using CreateProcess. I want the spawned application to be on top of window stack. I'm using...

Win32 version of UNIX's curses library
Posted on August 3rd, 2004 | 2 Comments

Does win32 provide a header file for manipulating the console in a meaningful way, i.e., writing certain chars at certain coordinates, etc.? If so, what is it, and where can I find documentation?

Programmatically changed who is logged in - possible?
Posted on August 3rd, 2004 | 1 Comments

Hi, With Windows XP, I would like to be able to change who is currently logged in, without actually having to log off/log on using the actual user interface. (ie, programmatically). Is this...

How to force solution builds to stop if one project has an error?
Posted on August 3rd, 2004 | 1 Comments

I have a VS .NET 2003 solution with many projects. In general, I want the solution build to STOP if any single project fails. Is this possible? My situation in more detail (although I think if you...

Sharing a Device Context between two executables
Posted on August 3rd, 2004 | 1 Comments

Is it OK to create a device context (specifically a printer DC) in one program, and then use it in another program? I have a program which does this and it works fine in Windows 98 environment, but...

CancelIo and DuplicateHandle
Posted on August 3rd, 2004 | 3 Comments

Hi All, I've read the documentation on CancelIo and I was just wondering: does CancelIo cancel all pending IO requests for all duplicates of a handle or just the handle on which it is being called?...

Measuring network interface traffic in Win9x
Posted on August 3rd, 2004 | 1 Comments

Hi, I need to write a Win32 (JNI) C++ component that can detect the current network interface usage under both Win9x and WinNT systems. I have noticed the GetUdpStatistics function, which can tell...

stop program from crashing
Posted on August 3rd, 2004 | 5 Comments

Dear All, I am encountering a problem, i have a function in my application which crashes whole application. And I am calling this function from another function. eg. f()is the function that may...

Is SendMessage from worker thread really evil?
Posted on August 2nd, 2004 | 7 Comments

Hello, I've read countless times that sending messages to a control from a thread that doesn't own it is a really bad practice. I've noticed this myself when I ran into hair pulling deadlocks when...

Common Control - Progress Bar Problem
Posted on August 2nd, 2004 | 2 Comments

Hi All, I am having problems getting a progress bar on a dialog window to increment / redraw properly. The dialog box was designed in the resource editor of VC++ 6.0, the common control library is...

Q about nmake
Posted on August 2nd, 2004 | 3 Comments

Hi, this is probably very OT here but I'd like to know if there exist a free tool for automatic generation of makefiles for nmake. I'm trying out Visual C++ Toolkit and is a complete newbie to VC....

InitCommonControlsEx(): For Which Controls?
Posted on August 2nd, 2004 | 7 Comments

I'm writing a program on a Windows XP Pro system. Everything in my program was working just fine... until I tried it on a Windows 2000 system that is. In the program, when the user presses a...

Tab Order of Dialog Items
Posted on August 2nd, 2004 | 5 Comments

I while back, I made a dialog box with many items of various types (checkboxes, drop lists, etc) using Visual Studio. But when I was adding items, I didn't go from top to bottom. Instead, I...

problem with dll
Posted on August 2nd, 2004 | 1 Comments

When I use “IP Helper API’s functions” In my program, all is ok. until I run it on Windows 98. On Windows Xp everything is ok. On 98 I get an error. MsgBox: File MyApp.exe is linked with missing...

CaptureScreen
Posted on August 2nd, 2004 | 1 Comments

Hello, I want to do manual alpha blending. I used CaptureScreen but apparently the window keeps on taking a screen capture of itself over and over. How do I do a screen capture of all windows...

How do I can the background color...
Posted on August 2nd, 2004 | 6 Comments

I'm looking for a way to change the background color of a single line of text containing ASCII text. The platform is Win32 (Win2K & XP). TIA.

How to send a custom message with a param to a win32 service?
Posted on August 2nd, 2004 | 2 Comments

Hi, I've never written a service before and need to know the best way to pass a custom parameter to it. Basically I just need my service to launch the URL of a web page that I send it from another...