Search Results - CodeGuru Forums
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: Marco F

Page 1 of 10 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    3
    Views
    2,004

    Re: Using GDI+ w/Visual C++

    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:

    ...
  2. Re: Gdiplus::ImageAttributes - order of correction functions

    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...
  3. Gdiplus::ImageAttributes - order of correction functions

    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...
  4. Re: Splines: HitTest, Bounding Box, Isodistant points

    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,...
  5. Splines: HitTest, Bounding Box, Isodistant points

    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 beziér)...
  6. Replies
    11
    Views
    13,899

    Sorry, that doesn't hit the point. A call to...

    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 ).
    ...
  7. Replies
    11
    Views
    13,899

    Hey, great question. I've got a very...

    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...
  8. Replies
    1
    Views
    640

    Try to set the mapping mode BEFORE you call...

    Try to set the mapping mode BEFORE you call CreateFontSize(). perhaps that helps...
  9. Thread: Printing Error

    by Marco F
    Replies
    3
    Views
    391

    The only thing I can see in your code is ...

    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
  10. ... and you can't open Access databases newer...

    ... and you can't open Access databases newer than Access 97 without patching the MFC... You should REALLY use ADO.
  11. Thread: Writing file

    by Marco F
    Replies
    24
    Views
    1,138

    ... or only: CFileDialog cfDlg(FALSE, NULL,...

    ... 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...
  12. Replies
    7
    Views
    2,796

    Hi. Sorry, forget everything about "system...

    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()" ?
    ...
  13. Replies
    25
    Views
    1,527

    What kind of a compiler is a MFC compiler ?...

    What kind of a compiler is a MFC compiler ? Normally I'm only using a C++ compiler ...
  14. Replies
    7
    Views
    2,796

    A Dialog box that is system modal (means: as long...

    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...
  15. Replies
    25
    Views
    1,527

    Isn't this a good example for the frequent call...

    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
    ...
  16. Replies
    27
    Views
    4,766

    Forcing Unicode-PDH-Functions:...

    Forcing Unicode-PDH-Functions:
    =========================
    PDH_STATUS pdhResult = 0;
    wchar_t szCounterPath[1024];
    DWORD dwPathSize = 1024;
    PDH_COUNTER_PATH_ELEMENTS_W pe;
    HQUERY hQuery;...
  17. Replies
    27
    Views
    4,766

    I think you must use unicode or at least you ave...

    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...
  18. Replies
    27
    Views
    4,766

    Sorry to tell you that (and I can't tell that...

    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 ...
    ...
  19. Replies
    27
    Views
    4,766

    At least I don't hope so... as I said, just a...

    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...
  20. Replies
    27
    Views
    4,766

    I'm just speaking theoretical here, because I...

    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...
  21. Replies
    7
    Views
    2,796

    Hi. Perhaps I missunderstood your task, but...

    Hi.

    Perhaps I missunderstood your task, but why don't you simply use a system modal dialog box for the passwort ?
  22. Replies
    27
    Views
    4,766

    Just to be sure: Are PdhOpenQuery() and...

    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(...)
  23. Replies
    5
    Views
    511

    I also don't know what you are doing exactly...

    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)...
  24. Replies
    3
    Views
    433

    As far as I remember there is no way, because...

    As far as I remember there is no way, because that is the designed behavior of SHBrowseForFolder.
  25. Replies
    1
    Views
    403

    1) I dont think so. Not if it is the only...

    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...
Results 1 to 25 of 226
Page 1 of 10 1 2 3 4


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center