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 11 1 2 3 4

Search: Search took 0.02 seconds.

  1. Replies
    0
    Views
    157

    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?
    ...
  2. Replies
    4
    Views
    206

    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?
  3. Replies
    4
    Views
    206

    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...
  4. Replies
    8
    Views
    273

    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
  5. Replies
    8
    Views
    273

    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...
  6. Replies
    8
    Views
    273

    Re: Find font (size problem)

    Hello Victor,

    an example:
    I need the font "Arial". The width for the text "Hello" shoud be 100px.
    How do I find/create it?
  7. Replies
    8
    Views
    273

    Find font (size problem)

    Hello,

    my problem:
    I have a text (singleline) and a fix width for the whole text.
    How do I find the correct font (height) for this text?

    thx.
    Ralf
  8. Re: CListCtrl::CreateDragImage necesarry for dragging?

    of course:
    http://www.codeproject.com/Articles/1951/Drag-and-Drop-between-and-within-a-CListCtrl
  9. Re: CListCtrl::CreateDragImage necesarry for dragging?

    sorry, I missunderstand your answer #5.

    But:
    CreateDragImage creates an imagelist with one item.

    I replaced it with a resource bitmap as described in an example on codeproject.com:...
  10. Re: CListCtrl::CreateDragImage necesarry for dragging?

    I do not see where there is a description on how to that when there are no images in the CTreeView.
  11. Re: CListCtrl::CreateDragImage necesarry for dragging?

    now, I deleted DrawShowNolock from OnMouseMove.
    The result: I drag a black rectangle in the size of an item over the screen.

    Is this the image CreateDragImage created for me?
  12. Re: CListCtrl::CreateDragImage necesarry for dragging?

    ok, I did it like described in many examples with:
    - CreateDragImage,
    - BeginDrag,
    - DragEnter,

    But no dragimage appears.

    Is it because my CListView do no have icons because it is customdraw?
  13. CListCtrl::CreateDragImage necesarry for dragging?

    Hello,

    I want to drag an item of a clistctrl in another window.
    In all the examples I found the function CreateDragImage is mentioned.
    Do I need it?
    What do this function?
    Do it do something...
  14. Replies
    2
    Views
    291

    Re: problem with CEdit in CDialogBar

    Hello,

    because no one had an idea, I tried some things I came to this solution:
    overwrite the function PreTranslateMessage in CWinApp.


    BOOL CMyApp::PreTranslateMessage(MSG* pMsg)
    {
    ...
  15. Replies
    2
    Views
    291

    problem with CEdit in CDialogBar

    Hello,

    please help me with a special behaviour of a CEdit-control in a CDialogBar:
    My CDialogBar is a member of my MDI-mainframe-class. The menu of the mainframe have an item with an accelerator...
  16. Re: CreateProcess and WaitForInputIdle, problem

    thx for the ideas.
  17. [RESOLVED] CreateProcess and WaitForInputIdle, problem

    Hello,

    I have a problem with creating a process and waiting until the main window of the new process was shown.
    I thought I can wait for it with
    WaitForInputIdle(pi.hp,INFINITE);

    But when the...
  18. Re: Statusbar-update while mouse in CDialogbar?

    That is my problem: in the small project it works!

    >>>>>>>>>>>>>>
    ok, now it works also in my big project.
    A complete rebuilt makes it!
  19. Re: Statusbar-update while mouse in CDialogbar?

    I meant not the framework, but my mainframe-class.
  20. Re: Statusbar-update while mouse in CDialogbar?

    thx you Victor.

    OK, it works.

    After looking at your project, I also created a new project and added my Dialogbar-class. It also works (SetStatusText is called)!

    I think, that means that the...
  21. Re: Statusbar-update while mouse in CDialogbar?

    Hello Victor,

    is it possible that you post your test project?
  22. Re: Statusbar-update while mouse in CDialogbar?

    I have win xp und win 7. The test was under win xp.

    Now, I set a breakpoint in CFrameWnd::GetMessageString to see the call stack.
    I see that my cdialogbar-class is not invoked....
  23. Re: Statusbar-update while mouse in CDialogbar?

    I tested it with both: "INT_PTR" and "int".
    I tested it with a breakpoint and with the MessageBeep-Sound (see my code) which not appears!
  24. Re: Statusbar-update while mouse in CDialogbar?

    this is the class declaration with the test-function:
    it is never called.

    class CGleisBar : public CDialogBar
    {
    // Construction
    public:
    CGleisBar(); // standard constructor

    BOOL...
  25. Re: Statusbar-update while mouse in CDialogbar?

    yes, and I declared it the same way in my class as I told you before:
    BOOL SetStatusText(int n);

    Anyway, is there something wrong which I did not see?
Results 1 to 25 of 273
Page 1 of 11 1 2 3 4


Azure Activities Information Page

Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center