Search:
Type: Posts; User: Marco F
Search:
Search took 0.69 seconds.
-
January 24th, 2006, 08:40 AM
To draw your own thing, You might also add a button to the Dialog, make it ownerDraw and overwrite parents DrawItem().
to use GDIplus in C++, you should add something like that to your stdafx:
...
-
January 24th, 2006, 08:33 AM
OK guys, found it out on my own.
Both correction types in the same ImageAttribute doesn't work. It's only executing ColorMatrix and Gamma, not ColorMap. Have to apply two ImageAttributes (doing...
-
January 23rd, 2006, 02:54 PM
Hi !
If I use multiple color corrections at once with Gdiplus::ImageAttributes, in which order are they executed ?
What I want to do:
- use a color matrix
- use a color remap
- use gamma...
-
January 23rd, 2006, 02:46 PM
cindyonlyone,
that's what I meant by "I could think of a solution like walking along the bezier by splitting it at a given percentage", with all it's disadvantages, but thanks for your answer,...
-
December 20th, 2005, 06:40 AM
Hi.
I need some hints and hope somebody could help me.
I'm looking for two funtions for 2d cubic (BeziƩr) splines.
1) a "Hittest" (or: distance of a given point to nearest point on a...
-
April 26th, 2004, 04:26 PM
Sorry, that doesn't hit the point.
A call to CreateFile opens the COM port. At that time the DTR signal will be DISABLED for a short time (we measured 100ms on a strongarm system / WinCE 4.1 ).
...
-
April 15th, 2004, 10:05 AM
Hey, great question.
I've got a very similar problem on a embeddded device under WinCE (where the DTR/DSR lines are missued as additional control lines for a RS485-communication ...)
If you...
-
April 15th, 2004, 10:00 AM
Try to set the mapping mode BEFORE you call CreateFontSize(). perhaps that helps...
-
April 15th, 2004, 09:52 AM
The only thing I can see in your code is
if(dlg.DoModal()) {
... I think it should be:
if(dlg.DoModal() == IDOK ) {
what happens when you try
-
April 15th, 2004, 09:45 AM
... and you can't open Access databases newer than Access 97 without patching the MFC... You should REALLY use ADO.
-
April 15th, 2004, 09:43 AM
... or only:
CFileDialog cfDlg(FALSE, NULL, m_csPCFileName, OFN_NOCHANGEDIR | OFN_HIDEREADONLY | OFN_OVERWRITEPROMPT | OFN_EXPLORER, _T("MPG Files (*.mpg)|*.mpg||") );
There is no need to...
-
April 14th, 2004, 05:29 PM
Hi.
Sorry, forget everything about "system modal". obviously a system modal dialog isn't really system modal anymore in win 2k.
But if using Win 2K or XP:
- Do you know "LockWorkStation()" ?
...
-
April 13th, 2004, 02:55 PM
What kind of a compiler is a MFC compiler ? Normally I'm only using a C++ compiler ...
-
April 13th, 2004, 02:52 PM
A Dialog box that is system modal (means: as long as this dialog box is open no other window on the desktop can be activated (I think there are a few possibilities such as the task manager, but...
-
April 12th, 2004, 06:20 PM
Isn't this a good example for the frequent call to "RTFM" ? From MSDN ("try"):
====
// Example of the try and catch statements
try
{
// Write the file header
...
-
April 12th, 2004, 05:43 PM
Forcing Unicode-PDH-Functions:
=========================
PDH_STATUS pdhResult = 0;
wchar_t szCounterPath[1024];
DWORD dwPathSize = 1024;
PDH_COUNTER_PATH_ELEMENTS_W pe;
HQUERY hQuery;...
-
April 12th, 2004, 05:21 PM
I think you must use unicode or at least you ave to explizitlly call the UNICODE-version of the pdh-functions. I think your russian characters are not in the "standard-Ansi" range, but you should...
-
April 12th, 2004, 05:17 PM
Sorry to tell you that (and I can't tell that this is fine), but:
1) I tried your code sniplet and it didn't work for me
2) I changed the names to the german translations and it worked ...
...
-
April 12th, 2004, 05:08 PM
At least I don't hope so... as I said, just a theoretical question to be sure since I don't see any other failures in your code ... and I saw perfmon reporting me object names in german on my...
-
April 12th, 2004, 04:44 PM
I'm just speaking theoretical here, because I never used the pdh functions in depth, but ...
Are you working with a localized version of Windows (not English) ?
In that case, what happens to...
-
April 12th, 2004, 03:02 PM
Hi.
Perhaps I missunderstood your task, but why don't you simply use a system modal dialog box for the passwort ?
-
April 12th, 2004, 01:01 PM
Just to be sure:
Are PdhOpenQuery() and PdhMakeCounterPath() returning ERROR_SUCCESS ???
Or are you working with a unicode build ? Try to encapsulate the sz... members with _T(...)
-
April 12th, 2004, 12:42 PM
I also don't know what you are doing exactly there, but if the DLL throws C++-exceptions from deep inside the code from an independand thread (and not while you are doing a method call into the DLL)...
-
April 12th, 2004, 12:35 PM
As far as I remember there is no way, because that is the designed behavior of SHBrowseForFolder.
-
April 12th, 2004, 12:18 PM
1) I dont think so. Not if it is the only control. You could only place a dummy control somewhere else that gets the focus.
2)
I think the slider control is placed in the CACPTESTView, if that...
|
Click Here to Expand Forum to Full Width
|