Tech Support > Microsoft Windows > Development Resources
SetDlgItemText() Error
Posted on July 24th, 2003 | 0 Comments

I am calling the SetDlgItemText() function to set the text of an edit box for an about window. For some weird reason though it won't work, and the GetLastError function gives a Control ID not found...

How to embed an URL in Borland C++ 4.53 Dialog?
Posted on July 23rd, 2003 | 1 Comments

Hi, I am working with Borland 4.53. I have to show a URL in my 'About' Dialog and on clicking on it the related wep page should open. Is this possible in Borland 4.53. If not is there any 3rd...

How to enumerate process
Posted on July 23rd, 2003 | 3 Comments

Hi guys, I need to enumerate the running processes on my computer. I have found something in psdk but I don't know how to get the filename of the process once I have retreived its handle. DWORD...

Absoluted Values
Posted on July 23rd, 2003 | 3 Comments

Dear All, Can anyone tell me which function of Windows 32 API I should use to do a Absoluted Values? Thx. Best, Eric

iDelta and NMUPDOWN
Posted on July 23rd, 2003 | 1 Comments

Hi all i am using spin control and my question is that if i know the Handle of the spin can i know that how much jump would the spin take if i click the up or down keys of the spin, i am asking it...

pthreads-win32 cancelable wait
Posted on July 23rd, 2003 | 2 Comments

I am observing a problem involving a pthreads-win32 condition variable. When the main thread waits on a cv, it does not wake up when the cv is signaled. I believe that the root of the problem is that...

Multi Column List Boxes: How?
Posted on July 23rd, 2003 | 3 Comments

A basic question from a fledgling windows programmer: How would one code a multi-column list box with column headers using "pure" API calls in C? I have searched the web for this, but in the few...

"file in use by another process" error after process has terminated
Posted on July 23rd, 2003 | 1 Comments

I'm running a process with stdout redirected into a file, and after waiting for it to terminate (WaitForSingleObject on the process handle), I read the file. This usually works, but once in a...

Validating Edit box by pressing return.
Posted on July 23rd, 2003 | 14 Comments

When a value is entered in an edit box, I want to take an action after the return key (VK_RETURN) was pressed, I can't seem to do it though, using WM_KEYUP or WM_KEYDOWN. And this (probably extremly...

Tooltip disappears when dialog based app minimized
Posted on July 23rd, 2003 | 1 Comments

Hello, I am writing a dialog based app in which I want to hide the main window and place an icon in the system tray when the user clicks the minimize button. Everything works ok, except whenever the...

Re: Polygon-clipping in a memory device context
Posted on July 23rd, 2003 | 1 Comments

Richard Heathfield wrote: GDI will take care of it for you. Norm

pointer to union - Uninitialized memory read?
Posted on July 23rd, 2003 | 1 Comments

See code segment below. -------------------------------------------------------------------------- #include "stdafx.h" typedef union { double dubl; char character; int integer; } SovietUnion;

C2014 - preprocessor directive must begin with first character of line
Posted on July 23rd, 2003 | 0 Comments

Hi, I use VC7.0 and get the described error in this code: CFileDialog fd(TRUE,"dxf","*.dxf"); #if (_WIN32_WINNT >= 0x0500) fd.m_pOFN->lStructSize = OPENFILENAME_SIZE_VERSION_400; #endif

What? No focus on the children!
Posted on July 23rd, 2003 | 2 Comments

Hi all I'm sad to say "I'm stuck", but it quite covers where I'm currently at in my dev. process. I've made a program based on dialogboxes. All the dialogues, are encapsulated in objects as an...

Error code 1812
Posted on July 23rd, 2003 | 4 Comments

Hi there, I was playing around today and decided to be a bit lazy. I am calling a dialog box from a console application. Everything works fine in debug mode (VC6) but when I run it in release...

WINVER value mismatch
Posted on July 23rd, 2003 | 3 Comments

Hi, I have installed my Microsoft Visual Studio 6.0 in Windows 98 long time back. Few months ago I have upgraded my OS to Windows XP. If I am trying to print the Windows version (WINVER) from the...

Changing Custom Colors within Color Chooser Callback
Posted on July 23rd, 2003 | 0 Comments

I'm setting up the common dialog Color Chooser so I can have a user change the program colors. I have this working fine. When I put my own ""Revert TO Default Colors" button in place of the Define...

Re: Firefly (a HID mouse filter)
Posted on July 23rd, 2003 | 0 Comments

yes, order the new one. the cost is minimal (only shipping and handling). in addition, there are more new samples and fixes for older samples plus the latest documentation. d -- This posting is...

help with cygwin gcc
Posted on July 23rd, 2003 | 0 Comments

I installed gcc-2_95_2 under cygwin. Wrote a test program and got the following message. What am I missing? Thanks for your help. $ gcc test.c /lib/libcygwin.a(pseudo-reloc.o)(.text+0x49):...

bootable disk with harddisk access
Posted on July 23rd, 2003 | 1 Comments

Hello I have crashed my ntfs harddisk unbootable. In order to solve this, I have downloaded ntrecover.exe from sysinternals.com and programmed a program, that read blocks from the hard disk over the...