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

Search:

Type: Posts; User: Ralf Schneider

Page 1 of 12 1 2 3 4

Search: Search took 0.03 seconds.

  1. Re: How to call CreateProcess and Waitforsingleobject/ MsgWaitForMultipleObjects?

    Hello Igor,

    there is no special communication needed.
    But it will be good if the main app waits until the new app shows its window.
    What is needed for that?

    thx.
  2. Re: How to call CreateProcess and Waitforsingleobject/ MsgWaitForMultipleObjects?

    the new thread creates windows!
    What is the difference to WaitForInputIdle instead of MsgWaitForMultipleObjects?
  3. How to call CreateProcess and Waitforsingleobject/ MsgWaitForMultipleObjects?

    Hello,

    from my main app I want to call another gui-app.
    But what is the correct way?
    Ok, first I need to call CreateProcess.
    But then?
    Do I need to follow it by Waitforsingleobject or...
  4. Re: can not call CDC::StrokePath() twice?!

    Hello Victor,

    I call BeginPath and EndPath. Then StrokePath and again StrokePath. There is not an "open BeginPath". Or do the first call to StrokePath deletes my Path?

    br
    Ralf
  5. can not call CDC::StrokePath() twice?!

    Hello,

    I have a problem with calling StrokePath() twice.
    Code-example:

    ----
    BeginPath()
    ....
    EndPath()
    -Create and select Pen-
  6. How to draw line with 2 alternating colors?

    Hello,

    any ideas?
    How can I create a pen that draws e.g. 4pixel red and then 4pixel blue?

    thx.

    br
    Ralf
  7. Re: How to call correct help context in CDialogbar?

    I do not pass a parameter. It is called by the framework.
  8. How to call correct help context in CDialogbar?

    Hello,

    my problem: pressing the F1-key in a CDialogbar calls WinHelp/HtmlHelp with the wrong help context.
    It is the main help context of the app.
    How can I call HtmlHelp with the help context...
  9. Re: problem floating CDialogbar on multiple screen environment

    Hello,

    I think, this will help me to find a solution:
    http://collaboration.cmc.ec.gc.ca/science/rpn/biblio/ddj/Website/articles/DDJ/1997/9709/9709b/9709b.htm

    I can overwrite EnableDocking and...
  10. problem floating CDialogbar on multiple screen environment

    Hello,

    I have an problem with a CDialogbar if my app runs on a system with two screens (side by side).
    I can not resize it while the CDialogbar is in floating state on the second screen.
    I...
  11. Re: [RESOLVED] Change item height in CListBox / CListCtrl

    I read msdn, but an older version of IsDialogMessage, where WM_GETDLGCODE was not mentioned....
    grgrggr
  12. Re: Change item height in CListBox / CListCtrl

    I found the solution:
    https://groups.google.com/forum/#!topic/borland.public.delphi.vcl.components.writing/1WbnR3dFgVk
  13. Re: Change item height in CListBox / CListCtrl

    PreTranslateMessage is called, if VK_DOWN etc. is stroke.
    and IsDialogMessage says that the WM_KEYDOWN-message has been processed. But where?
  14. Re: Change item height in CListBox / CListCtrl

    yes.
    Now, I checked it with Spy++.
    A WM_KEYDOWN-message was sent to my ctrl-window!
    But no WM_KEYUP-message????
    Maybe this goes to another window?
    If I strike VK_SPACE, I get a WM_KEYDOWN,...
  15. Re: Change item height in CListBox / CListCtrl

    e.g. cursor up/down!
  16. Re: Change item height in CListBox / CListCtrl

    Hello again,

    it has nothing to do with the styles.
    I can use WM_KEYDOWN to detect normal keys.

    How can I detect a keystroke on the cursor keys?
    is it not WM_KEYDOWN?
  17. Re: Change item height in CListBox / CListCtrl

    Hello Victor,

    I am near to the solution.
    I think this problem has to do with the window-styles.
    For the listbox I used the picture control in the dialog editor.
    If I use the edit control, I can...
  18. Re: Change item height in CListBox / CListCtrl

    yes, I set the notify-property for the static-control in the dialog-editor.
    I think, this is the same as SS_NOTIFY?!
    Without this there was also no call to OnLButtonDown().
  19. Re: Change item height in CListBox / CListCtrl

    Hello Victor,

    I put ON_WM_CHAR and ON_WM_KEYDOWN in the messagemap of CMyListCtrl.
    But the corresponding function is never called!
    If I press the arrow keys, the focus (set with OnLButtonDown)...
  20. Re: Change item height in CListBox / CListCtrl

    Hello,

    to make the best solution, I started to create my own listbox.
    Base class: CStatic.

    It works pretty good, but now I entered one problem:
    I can not detect key strokes. OnChar or...
  21. Re: Change item height in CListBox / CListCtrl

    Hello Victor,

    SetItemHeight() sounds good.
    It would solve my problems.
    But way do OnMeasureItem exist, if everything can be handled with SetItemHeight().
  22. Re: Change item height in CListBox / CListCtrl

    Hello OReubens,

    thank you.

    Regarding CListBox:
    when I use ownerdrawfixed, how can I change the height?

    Ralf
  23. [RESOLVED] Change item height in CListBox / CListCtrl

    Hello,

    I need a ownerdraw CListBox where I can change the item height during working with the list.
    The msdn says that I can specify the height in OnMeasureItem when the listbox will be created...
  24. Replies
    9
    Views
    1,055

    Re: Doc/View in CDialog

    this goes in the right direction.
    I will have a look on it tomorrow. Thank you.
  25. Replies
    9
    Views
    1,055

    Re: Doc/View in CDialog

    Hello,

    thanks for your answers.
    But I think, I am completely misunderstood.

    I try it again:
    My app shows data during his doc/view architecture(classe CmyView/CmyDoc), normally.

    But in a...
Results 1 to 25 of 299
Page 1 of 12 1 2 3 4


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This a Codeguru.com survey!


HTML5 Development Center