Tech Support > Microsoft Windows > Development Resources
WM_NOTIFY sent twice
Posted on November 1st, 2003 | 0 Comments

When I trap the DTN_DATETIMECHANGE from a date picker control, I notice that it is sent twice for each time a date change is made, why would this be?

Any examples using DialogBoxIndirect()?
Posted on October 31st, 2003 | 2 Comments

Hi again: One quick question before I get into the core problem I'm having. The entries for captions and combo boxes in the graphical resource editor seem to be character constants, and not...

Transparent window in Win 9x
Posted on October 31st, 2003 | 4 Comments

Is there a possibility to have tranparent windows in Windows 95 or 98? I want to have a dialog (popup) or mainframe with ajustable opacity, thus the background will be visible through my window. In...

Programming the System Standby Timer (S3)
Posted on October 31st, 2003 | 0 Comments

Hey, I'm using the windows api library to adjust the video and HDD timers without any problems; however, the S3 or system standby timer is being a pain. So far I can adjust the timer from any value...

Debugging
Posted on October 31st, 2003 | 3 Comments

Does anyone know of a good tutorial for implementing DBGHELP or IMAGEHLP (or are they the same?)? I don't want to use an image file because of the need to include an extra file with my exe. Rather, I...

printing the mirror image.
Posted on October 31st, 2003 | 15 Comments

I've been asked to make changes to a graphics application that currently build output and sends it to the printer using a print library. I've been asked to add functionality that will allow a...

Retrieve file version of an exe
Posted on October 31st, 2003 | 1 Comments

Hi, How can I retrieve the file version of an exe?

Converting a file name to its correct case as listed in the file system
Posted on October 31st, 2003 | 7 Comments

This has probably been posted before, but if so I couldn't find it. Here's my C++ implementation that seems to work okay with limited testing. Feedback and corrections welcome. char...

Printing with the given font
Posted on October 31st, 2003 | 0 Comments

Hello everybody! I am using VC++6.0. I want to print a text with the font OCRB, and with the symbol size 2.7 mm Height and 2.5 mm width. I use : // 100 log units per mm for HIMETRIC mapping mode...

Disable right-click menu in Tray application
Posted on October 31st, 2003 | 3 Comments

I have a tray application written in VC++ 7.0, which has a right-click menu. One of the menu choices opens a dialog. How should I best hide (and thus disable) the right-click menu of the tray as long...

Windows Breaks all the Rules of Good Design
Posted on October 31st, 2003 | 7 Comments

Windows has been annoying me from many years now, so I've devised a little test for it. Let's see how Windows stacks up to the rules of good design*... "Rule of Modularity: Write simple parts...

Horizontal Scrollbar in Listbox??
Posted on October 31st, 2003 | 2 Comments

Hello World, I am using the resource editor in VC++ .NET on Windows XP Home. I am using a listbox with LB_HASSTRINGS style. In the properties editor I set Horizontal Scrollbar to true. However, this...

Popupmenue quits application??
Posted on October 31st, 2003 | 1 Comments

Hi, I've got a very strange problem and I do not know what's wrong about. I've created this popup menu: IDM_SUB MENU DISCARDABLE BEGIN POPUP "Men" BEGIN

Stop USB Mass Media Device
Posted on October 30th, 2003 | 0 Comments

I'd like to be able to "stop" a USB thumb drive so the user can disconnect it without accessing the "unplug or eject hardware" tool (for fear of some of our users ejecting other hardware). I've...

memory mapped file, growing working set
Posted on October 30th, 2003 | 13 Comments

Hi! I'd have a question about memory mapped files: I have one that I use as a buffer, one process writes into it, another one reads from it. The file is currently set to be 100 MB in size. Now, the...

How to "system()" without a CommandPrompt window?
Posted on October 30th, 2003 | 12 Comments

Hi! I have an MFC-based GUI program on WinXP. It runs just fine (meaning I have all the bugs listed), but there is one thing I need further help with. This program uses "system()" to execute...

Crash Handler and Extracting Line Numbers?
Posted on October 30th, 2003 | 5 Comments

Hey guys, I have written a simple exception handler. Here is a picture: http://www.zero47.com/files/CDebug.png It can e-mail the details to the developer quickly. I think it is sexy, but it is...

Unpaid overtime?
Posted on October 30th, 2003 | 0 Comments

If you are a programmer who has been working lots of overtime and you feel you are having difficulty getting paid for what you have done, you may find that you are not alone. If you have worked for...

Services and windows messaging
Posted on October 30th, 2003 | 2 Comments

Services and windows messaging Folks, I have a process that uses Windows messaging for IPC. This worked fine, however I have now converted my process to a service (using Microsoft Windows NT...

newbie how to : populate windows schedule tasks
Posted on October 30th, 2003 | 1 Comments

Hi, Dont know if this is possible - In the windows schedule tasks thingy, there are a limited number of options for the scheduling. E.g. every thursday, 3rd Thrs in every month etc. The dates I need...