Tech Support > Microsoft Windows > Development Resources
Printer API call problem
Posted on October 16th, 2003 | 0 Comments

I have a program that prints to a printer connected to the PC via the LPT1 port. I am using the following API calls OpenPrinterA, StartDocPrinterA, StartPagePrinter, WritePrinter,...

How to make my app have specific window handles?
Posted on October 16th, 2003 | 4 Comments

My app uses about 200 hwnd handles I'd like to know beforehand what window handles I get when using createwindow(). For example is the a way to do something like this: .... my app...

Re: Win2k API "open file" dialogue box help
Posted on October 16th, 2003 | 3 Comments

On Mon, 13 Oct 2003 22:56:25 GMT, dearmrf <dearmrf@yahoooooo.com> wrote: The only way I can find is using some undocumented functionality (which of course may change in the future...), see...

RE: Check out that critical patch for Windows
Posted on October 16th, 2003 | 0 Comments

Get Hwnd from Hinstance
Posted on October 16th, 2003 | 3 Comments

Hi all, Is there any way I can get the parent Hwnd when I only know the Hinstance? Basically, I am spawning a new process (ShellExecute) which returns the Hinstance and I want to keep control over...

Windows API/kernel info
Posted on October 16th, 2003 | 5 Comments

Hello all - I am just wondering what sort of resource is recommended (preferably book) regarding the Windows kernel ins and outs - or at least the Windows API. For instance, I'm reading a couple of...

Newbie Status Bar Question
Posted on October 16th, 2003 | 4 Comments

Hi Experts: You folks really helped this Unix programmer get an RS-232 interface working about a year ago. But no good deed goes unpunished, and I've returned. That application had a rudimentary...

tree/list-view under pure win32??
Posted on October 15th, 2003 | 6 Comments

I'd like to expand a treeview control to have multiple columns, like a listview. However, I'm working with standard Win32 code, no MFC or any such. I can't find any examples of a TreeListView...

how to recreate MS outlook mime editor using richedit
Posted on October 15th, 2003 | 0 Comments

Hi, I have a richedit box in my win32 applicaiton. But it behaves as a normal edit. How do i get it to display italics and bold stuff like MS outlook does? And...how does outlook handle bmp's in...

Windows Shell book (esposito)
Posted on October 15th, 2003 | 1 Comments

I am looking for a used Book about windows Shell programming. if you have the Dino Esposito book - i may be intrested in buying it. email me at dfurshpan@hotmail.com thanks

Unique hash key from message?
Posted on October 15th, 2003 | 11 Comments

I need to have a unique key which I can later use in e.g. a hashtable from a message. Initially I thought of using the MSG, but when I dive into e.g. WM_COMMAND and WM_NOTIFY this doesn't hold...

network connections
Posted on October 15th, 2003 | 0 Comments

I am currently trying to find my way through the iphlp API but cannot find how to activate/deactivate network connections. Anyone a pointer? Thanks -- Torsten

How to retrieve parameters passed with CreateMDIWindow
Posted on October 15th, 2003 | 1 Comments

Hi all, I'm hoping you can help me out with this one... I am creating a MDI c++ project, where the individual documents are wrapped within a class definition. It is therefore vital that I pass...

Printing/Faxing Word Document
Posted on October 15th, 2003 | 0 Comments

Hi, I'm trying to automagically fax a Word document. It all works fine, except that when ever the file is queued for faxing, Word pops up for a second, and then shuts dowm. I guess it does that...

ellipsis at the end of a string
Posted on October 15th, 2003 | 2 Comments

Is there a convinient api way to truncate a string and append an ellipsis to the end of the visible part of that string added to a listbox who's width exceeds the width of the listbox? Or do I gotta...

TWAIN programming or not?
Posted on October 15th, 2003 | 1 Comments

Hi One of the input to my application I need to develop for Windows is an image which can be read from disk or obtained from a device like web or digital camera. So assuming I have a web cam and...

Title/Menu Bar problem under XP
Posted on October 15th, 2003 | 0 Comments

Under XP, my program's title and menu bar aren't redrawn properly at times; this did not occur under W95/8. My window is maximized; if I bring a smaller window to the front and it partially covers...

Title/Menu Bar problem under XP
Posted on October 15th, 2003 | 0 Comments

Under XP, my program's title and menu bar aren't redrawn properly at times; this did not occur under W95/8. My window is maximized; if I bring a smaller window to the front and it partially covers...

What numbering of handles does CreateWindow() use?
Posted on October 15th, 2003 | 2 Comments

Sometime CreateWindow() return handles starting from 100, sometimes it skips a few. How does CreateWindow and CreateWindowEx() work when they create unique windows handles? Do they allways start from...

modeless dialog problem
Posted on October 15th, 2003 | 0 Comments

I have a program that can create a modeless dialog at any time. my message loop is like this: while(true){ if(PeekMessage()){ if(0==GetMessage()) return msg.wParam; if(hDlg == 0 ||...