Tech Support > Microsoft Windows > Development Resources
Linking DLL Without Import Library?
Posted on March 5th, 2004 | 5 Comments

Hi Experts: I've downloaded the zip file for the embedded version of the Firebird database. There is a dll, but I don't see an import library. I've put the fbclient.dll in the...

PostMessage troubles with SHIFT key
Posted on March 5th, 2004 | 5 Comments

I use PostMessage to drive an application by sending it keyboard events. Messages that are sent with no modifiers are processed well. As an example, the '.' key message sent here: My...

listview header highlight
Posted on March 5th, 2004 | 1 Comments

I use the LVN_COLUMNCLICK message to set the sort arrows of the header control in the listview. I would like to change the sort arrows to its highlight counterpart when the header column is...

'enum' declared in IDL file
Posted on March 5th, 2004 | 4 Comments

Hello, I've a question. It's ATL 3.0 development in VC6. In .IDL file there's 'enum' declared like this: typedef enum { eOne,

SHBrowseForFolder : size of the dialog?
Posted on March 5th, 2004 | 2 Comments

Hello. For GUI consistencies, I'm trying to create a dialog that looks almost exactly like the one that pops up when SHBrowseForFolder() is called, but with my own tree structure, using my own...

Pixel Manipulations
Posted on March 5th, 2004 | 1 Comments

"P. A. Batsii" <ragnar0ck@ukr.net> schrieb im Newsbeitrag news:c27h72$6e8$1@hyppo.gu.net... Create a bitmap in memory and copy this to the DC. If you want it really fast, make a texture of the...

Highlight Color Algorythm
Posted on March 4th, 2004 | 1 Comments

If you select icons on the desktop, they change color to highlight the selection. Does anyone know how Windows maps the unselected colors into the selected ones? Here is a table of what I have...

notification of combo box change
Posted on March 4th, 2004 | 2 Comments

I have a drop-down combo box and want to know when the user selects an item from it. MSDN says to handle the CBN_SELENDOK in WM_COMMAND, but this isnt happening for me. Is there a specific message...

AKAI Filesystem
Posted on March 4th, 2004 | 9 Comments

hi, I'm planning on writing a program for windows that reads AKAI-CDs (AKAI filesystem) in Java.. as far as I know, windows doesn't support this filesystem, then how can they be read? Please...

How to return binary-data from a ActiveX com-component?
Posted on March 4th, 2004 | 2 Comments

Hi folks, I'm trying to write a ActiveX com-component which has a function which should return jpeg-image-data. Until now, I wanted to return it as a BSTR. Inside the com component, I'm using a...

Opposite of a semaphore
Posted on March 4th, 2004 | 0 Comments

How do I implement a inter-process mechanism that's the opposite of a semaphore--that is, it's signaled when its counter is 0? I'm writing a program that starts a service (a web server), makes use of...

psexec vs MFC
Posted on March 4th, 2004 | 0 Comments

I am having problems starting an MFC application in remote using psexec (from http://www.sysinternals.com/). It works well with most applications (ex: notepad.exe), but it creates problems with...

Catching messages from a console-application dos-box-window
Posted on March 4th, 2004 | 1 Comments

Hi, How can I catch messages to the console-application dos-box-window of my app (msvc++) ? for instance : if the program is active and the "close - X" in the menu is pressed, the program exits, I...

Getting the "All Users" desktop directory
Posted on March 4th, 2004 | 1 Comments

I need a way to find this info that will work in 95/98/ME/NT/W2K/XP... Is this key in every version mentioned? HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders A...

Locking a program's pages in memory?
Posted on March 4th, 2004 | 1 Comments

Hi all, (Sorry for the crossposting - there's just too many groups!) Is there a way under Windows 2000 to lock an application's pages (both text and data) into physical memory such that they're...

list-view: how to know if scroll-bars are being displayed
Posted on March 3rd, 2004 | 5 Comments

"Bob Rock" <nospam.yet_another_apprentice@hotmail.com> wrote in message news:c1srhj$1mhqho$1@ID-98646.news.uni-berlin.de... Examine the controls style and see if it has the WS_HSCROLL bit set. If...

DLLs and portability
Posted on March 3rd, 2004 | 1 Comments

If I use DLLs in Windows, does not that mean portability issues if wanted it to run on a different operating system (like Linux) ? Is there some standard way to achieve modularity in both Windows and...

adding items to a combo box
Posted on March 3rd, 2004 | 2 Comments

I am trying to add items to a combo box but nothing is being displayed - just an empty combo box. I am trying SendMessage(mHwndCombo, CB_ADDSTRING, 0, (LPARAM)"Testing"); SendMessage(mHwndCombo,...

progress window cant be moved
Posted on March 3rd, 2004 | 12 Comments

I have an instant messaging application which sends/receives file. During this I want to display a progress bar. I have a window created (hDlgProg) with a progress child window. The progress bar...

Get and set dialog size run-time
Posted on March 3rd, 2004 | 3 Comments

I need to change size of dialog during run-time. I figured out that there are functions SetWindowPos and MoveWindow which should do it. But I have a problem: how can I programmatically get current...