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.02 seconds.

  1. Re: How to call correct help context in CDialogbar?

    I do not pass a parameter. It is called by the framework.
  2. 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...
  3. 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...
  4. 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...
  5. Re: [RESOLVED] Change item height in CListBox / CListCtrl

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

    I found the solution:
    https://groups.google.com/forum/#!topic/borland.public.delphi.vcl.components.writing/1WbnR3dFgVk
  7. 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?
  8. 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,...
  9. Re: Change item height in CListBox / CListCtrl

    e.g. cursor up/down!
  10. 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?
  11. 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...
  12. 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().
  13. 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)...
  14. 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...
  15. 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().
  16. Re: Change item height in CListBox / CListCtrl

    Hello OReubens,

    thank you.

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

    Ralf
  17. [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...
  18. Replies
    9
    Views
    506

    Re: Doc/View in CDialog

    this goes in the right direction.
    I will have a look on it tomorrow. Thank you.
  19. Replies
    9
    Views
    506

    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...
  20. Replies
    9
    Views
    506

    Doc/View in CDialog

    Hello,

    I have a app with doc/view architekture.
    Is it possible to show/edit a doc of this type also in a CDialog within this app?
    How can I do that?
  21. Replies
    0
    Views
    271

    Aspect ratio with 2 monitors

    Hello,

    some users have problems with my app, if they use 2 monitors side-by-side horizontally.
    I use CScrolllview with the mapmode HIMETRIC with vc6.
    Is this a known problem?
    What can I do?
    ...
  22. Replies
    4
    Views
    421

    Re: PrintDlg with special page range

    Hello Victor,

    ok, but how can I use it together with the mfc-function OnPreparePrinting?
    Do I have to overwrite DoPreparePrinting?
  23. Replies
    4
    Views
    421

    PrintDlg with special page range

    Hello,

    in my app the user can select the pages to print by typing in a start and an end page.
    I think this is the standard dialog.

    How can I give the user the possibility to select e.g. page...
  24. Replies
    8
    Views
    645

    Re: Find font (size problem)

    Hello OReubens,

    thank you.
    I am doing drawing!
    I can not use a monotype font.

    Please tell me more about "estimates based on averages". How can I do that?

    Ralf
  25. Replies
    8
    Views
    645

    Re: Find font (size problem)

    ok, that is possible.
    But no solution for me, because it is a time critical function (I have to obtain the font for many texts).

    Maybe I should do this:
    I have to pre-calculate the possible...
Results 1 to 25 of 293
Page 1 of 12 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