Search:
Type: Posts; User: ghovis
Search:
Search took 0.10 seconds.
-
January 29th, 2011, 07:33 AM
Sorry for my choice of words "target URL does not exist", I see this has ambiguous meaning. The state of the string variable is not my issue.
My issue occurs when the file object (referenced by...
-
January 28th, 2011, 03:07 PM
Hello,
I'm using URLDownloadToFile along with IBindStatusCallback. When I attempt a download, and the target URL exists, all works well. But, when the target URL does not exist,...
-
December 29th, 2009, 07:45 AM
In the laser software I have used, once the beam is turned on, a unique dialog pops up. It warns that the laser is "hot", and the only button on the dialog is a "Cancel" or "Stop" button. This...
-
December 28th, 2009, 01:06 AM
Not sure if it's the "best" way, but have you tried "SetCursorPos" when the dialog initializes? You'll have to determine the location of the button first (GetWindowRect maybe). Hope this helps.
-
October 8th, 2009, 07:22 AM
This is looking to be the best option; have downloaded QT and will give it a go. Thanks.
-
October 7th, 2009, 10:49 AM
Thanks Lindley, I'll have a look at this.
I do, and I've used it to resize and crop images before, but never thought of it as a UI tool. I'll see if I can find some examples of how to do this....
-
October 7th, 2009, 09:02 AM
Hello,
I have a small project on Linux (CentOS), and I need to open a "window" to do display a BMP image. Really, that's all I'm looking to do at this point. I've searched here and on Google for...
-
November 14th, 2008, 01:13 PM
Not sure if this is what you're looking for, but SetFileAttributes may be a good starting point.
-
November 14th, 2008, 01:05 PM
Thanks to all for helping on this.
-
November 14th, 2008, 10:45 AM
OK, great input! Just to make sure I understand; in the SPECIFIC case where I have a 2-D array member variable with known dimensions, like:
// in the .h file
double m_xval[6][8];
// in...
-
November 14th, 2008, 09:04 AM
Thanks Mr. Wizard, glad I asked.
So it's just single-dimensional arrays (vectors) that are contiguous in memory (e.g. xval[10])?
-
November 14th, 2008, 08:50 AM
Pretty basic question, but is it safe to use ZeroMemory this way to initialize a 2-D array?
double xval[6][8];
ZeroMemory((PVOID)&xval[0][0],6*8*sizeof(double));
// rather than
for(i=0;...
-
September 17th, 2008, 09:58 AM
I did, but after changing the text an update is required, e.g. Invalidate(FALSE), to make the changes display. That actually reduced the flicker, but didn't eliminate it. Thanks!
-
September 17th, 2008, 09:55 AM
Hundreds of data values (text formatted numeric values) are updated, and only 5 or 6 labels are not.
Good suggestion. Since I have already formatted the data, I'm back to looking at CDC-DrawText to...
-
September 17th, 2008, 09:35 AM
Thanks for the reply VictorN. I have seen/used the SetSel type methods, however in this case the majority of text has to be updated on each cycle. Perhaps the edit control isn't the best approach...
-
September 17th, 2008, 08:32 AM
I've read, used, and even posted on how to control flicker. However, I'm a bit stumped on this one.
To display some frequently-updating data, I created a simple modeless dialog that has a large...
-
March 31st, 2008, 09:42 PM
Perhaps some info here will help ...
http://www.codeguru.com/forum/showthread.php?t=75106
-
March 31st, 2008, 11:55 AM
Since its an SDI, would it be safe to use the top level frame to find the view, like:
CFrameWnd* pWnd = (CFrameWnd*)AfxGetMainWnd();
CFrameWnd* pFrame = pWnd->GetActiveFrame();
...
-
March 15th, 2008, 09:12 PM
Excellent info. Thanks hoxsiew.
-
March 15th, 2008, 09:28 AM
JohnCz and hoxsiew, thanks for the information.
JohnCz, your "mapping" discussion sort of explains my observations which caused me to start this thread. The first block of code I posted was...
-
March 14th, 2008, 02:25 PM
These may have some useful info:
http://www.codeguru.com/forum/showthread.php?t=441946
http://www.codeguru.com/forum/showthread.php?t=281718
-
March 14th, 2008, 12:58 PM
I noticed that when building dialogs using the VS resource editor, sometimes the dialog's definition in the .rc file will include additional parameters following the FONT designation, for example:
...
-
March 2nd, 2008, 09:12 PM
I just went through a similar exercise for fun, sort of simulating a 'Vista' effect, but I ended up in the same place you did. I can't be sure, but the answer may be in this CodeProject article. ...
-
March 2nd, 2008, 11:57 AM
This worked perfectly. Also, I kind of chuckle at myself for asking "how to tell the mouse leaves the NC area" and the answer is WM_NCMOUSELEAVE - probably should have figured that one out, but we...
-
March 1st, 2008, 06:19 PM
Hello,
I'm drawing a simple icon in a window's titlebar area (kind of like a minimize icon). I do the drawing with BitBlt in OnNcPaint and use OnActivate to change the appearance of the icon...
|
Click Here to Expand Forum to Full Width
|