Search:
Type: Posts; User: cosmicvoid
Search:
Search took 0.06 seconds.
-
April 6th, 2014, 08:06 PM
I have found a way to get the results I expect, but I'm puzzled as to whether this is the usual way a scroll bar needs to be handled. I've never had this issue before, and I've used scroll bars many...
-
April 6th, 2014, 03:53 AM
I have a dialog that contains a scroll bar (SB_CTL) that doesn't give the expected behavior. The first clue is that the size of the thumb button is wrong (too large) for the range/page proportions.
...
-
January 26th, 2014, 04:46 AM
Igor,
I decided not to go into a long windy reply to your points, and I'm sorry that I didn't realize you were expecting a compilable sample. And thanks for your sample, I will experiment with it...
-
January 24th, 2014, 01:52 AM
Success with the phantom control method. The key is here:
http://forums.codeguru.com/showthread.php?125134-How-can-I-change-the-z-order-of-control-in-the-Dialog-Editor&p=336555#post336555
-
January 23rd, 2014, 05:54 AM
I fixed a bug in my WM_MOUSEMOVE handler, but no matter what I've tried I cant get the TTM_EVENTRELAY message to trigger a tooltip window. I've tried several other pieces of sample code that use the...
-
January 22nd, 2014, 06:59 PM
I think WM_MOUSEMOVE, ChildWindowFromPoint(), TTM_RELAYEVENT are documented. I think the internals of the tooltip class proc are the mystery, so there is no way to know why my experiments are...
-
January 22nd, 2014, 06:15 PM
Victor, I did not consider the TTN_NEEDTEXT notification, because the tip text is already known to the tooltip when the control is added with the TTM_ADDTOOL message. All the non-disabled controls...
-
January 22nd, 2014, 04:15 AM
I know the topic of tooltips not showing for disabled controls is very "mature", and I'm reluctant to ask, but after looking at 100's of search hits, on this forum, MSDN, and others, I'm stuck.
I...
-
October 21st, 2012, 09:44 AM
Thanks Victor,
The main idea that your linked article gave me was that the shell object method did not provide any of the notifications or actions that would do what I need. Also, it looks like a...
-
October 20th, 2012, 11:59 PM
I've run into a snag while testing this code. The initial development was done in XP-sp3, and the code works as expected; however, testing in Win7HP-64 gives different results. Here is the relevant...
-
October 16th, 2012, 07:55 PM
Thanks very much, Victor. That is just what I needed, and simplifies my code a lot.
-
October 16th, 2012, 10:54 AM
The window handle passed to the hook, and the handle in the WM_NOTIFYs, are that of the dialog. I am also guessing that the empty "ListBox" window is just a place-holder in the dialog template, used...
-
October 16th, 2012, 05:58 AM
Making progress...
I discovered that a few other CDN_ notifications occured at the time the dialog became visible, but before any user interaction occured. So I trapped on the first occurance of...
-
October 16th, 2012, 03:09 AM
Thanks edpat,
I tried trapping the CDN_INITDONE notification, and discovered some interesting results.
At the time of CDN_INITDONE, the Spy++ listing for the OFN dialog shows a window with a...
-
October 15th, 2012, 02:48 AM
Hi Igor,
I already have a hook established to the OFN dialog, as I am doing other things with it (keeping track of size & position). So I will have to find a way to get a handle to the list view...
-
October 14th, 2012, 05:33 AM
I'm using the GetOpenFileName() common dialog, with no problems. Now I want to add a feature of making the default filename be supplied (with the last opened filename). This is not an issue, per se,...
-
December 10th, 2010, 06:07 PM
Try putting UpdateWindow(hWnd) into your code where you want the window to update.
-
October 25th, 2010, 01:21 PM
None of the above. Its actually a custom registered format.
typedef struct _CBdata {
int chnr;
UINT64 ch64[MAXCOLS];
} CBDATA, *PCBDATA;
UINT CFE_CBformat;
CFE_CBformat =...
-
October 25th, 2010, 12:59 AM
The pointer returned by GlobalLock() points to a block owned by the clipboard, but the pointer is valid in your program's memory space, so there should be no fault on a copy operation. Here is a...
-
September 19th, 2010, 03:17 AM
Try it without the "&" in front of lpBuffer[i].lpData, as "&lpBuffer[i].lpData" would be the address of the string pointer, not the address of the string.
-
September 17th, 2010, 11:01 PM
After playing with this for several more hours, I have concluded that the mouse messages are actually missing, due to low mouse resolution or low reporting rate or both. I bet the reason the drawing...
-
September 17th, 2010, 06:32 PM
Using VS2005 / VC++8. I have an app that allows drawing with the mouse in a bitmap, which appears as a grid of pixel cells. This looks very much like what you get if you use the VS resource editor to...
-
September 16th, 2010, 07:26 PM
??? different function names.
bool RawDataToPrinter(LPSTR szPrinterName, LPBYTE lpData, DWORD dwCount);
....
....
RawDataToPrinter2(szPrinter, pData, nTotalLen);
-
September 7th, 2010, 09:13 PM
What do you mean by "automation"??
-
June 13th, 2010, 02:02 AM
So, you are using the same dialog proc routine for two different dialog windows? I wonder if this is part of the problem.
|
Click Here to Expand Forum to Full Width
|