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

Search:

Type: Posts; User: MagnusUnemyr

Page 1 of 3 1 2 3

Search: Search took 0.01 seconds.

  1. Re: How to use user-defined font(not system font)?

    Hi,

    You need to create a new font (1) and select it into the drawing context (2), if using GDI commands.

    If you only need another font in the dialogs, there is a font selection option in the...
  2. My App doesn't show up in ALT-TAB task switch window

    Hi,

    My application does not show up in the ALT-TAB task-switch window, when a dialog is open, if the open dialog is started from another dialog, that is modeless.

    Otherwise my application is...
  3. Re: Is it possible to increase the size of a radio button and a checkbox?

    In more detail, you need to set the "owner draw" bit for your control in the dialog designer, and override the DrawItem() and MeasureItem() methods for this contorl. I hope this gives some better...
  4. Re: Is it possible to increase the size of a radio button and a checkbox?

    The only way I know of is to make an "owner drawn" control, ie you take over the drawing of the Windows controls. This is quite a bit of job, but you might find code samples here at code guru (n...
  5. Alt-Tab doesn't work with sub-dlgs started from modeless dlg

    Hi,

    My application does not show up in the ALT-TAB task-switch window, when a dialog is started from another dialog, that is modeless.

    Otherwise my application is connected to the ALT-TAB...
  6. Replies
    3
    Views
    368

    Re: MDI New document (limit nr of docs)

    Hi,

    Your code example looks to work, but fore some reason new documents are still created even if I return FALSE.

    But even if that works, I would get the standard MFC "document creation error"...
  7. Replies
    7
    Views
    397

    Re: How to get popup menu window ?

    Hi,

    In your event handler, call:

    // Load the popup menu
    Menu.LoadMenu( IDR_SOME_MENU );

    // Show the menu
    Menu.GetSubMenu( 0 )->TrackPopupMenu( TPM_LEFTALIGN | TPM_RIGHTBUTTON, point.x,...
  8. Replies
    1
    Views
    1,615

    Re: How to read .dgn file format

    Hi,

    I have no information on the DGN file format, but www.wotsit.org contains information on many file formats.
    (unfortunately I was not able to access this site right now, but try later!)
    ...
  9. Replies
    3
    Views
    368

    MDI New document (limit nr of docs)

    Hi,

    I've got an MDI app, and I want to limit the number of documents that can be opened using "File New".

    Therefore I override OnFileNew etc in the CWinApp object, to allow or disallow creation...
  10. Replies
    3
    Views
    264

    Re: MS-Office like "shortcut bar"

    Excellent, many thanks!
    This was exactly the information I needed!

    Regards,
    Magnus
  11. Replies
    3
    Views
    264

    MS-Office like "shortcut bar"

    Hi,

    Does anyone know how to make a program that "docks" in the MS-Windows main screen window, similar to the Microsoft Office "Shortcut bar" (or launch bar)?

    Any links to example programs or...
  12. Replies
    3
    Views
    286

    Re: scanning a XML-File

    Use an XML parser, such as SAX or buy eXactML from Bristol technology.

    Good luck!

    /Magnus
  13. Replies
    1
    Views
    259

    Shortcut Bar

    Hi,

    Does anyone know how to make a program that "docks" in the MS-Windows main screen window, similar to the Microsoft Office "Shortcut bar" (or launch bar)?

    Any links to example programs or...
  14. Replies
    2
    Views
    1,625

    Re: CTreeCtrl and DeleteItem notification

    excellent, thanks!
  15. Replies
    2
    Views
    1,625

    CTreeCtrl and DeleteItem notification

    Hi,

    I want to react to the CTreeCtrl DeleteItem message, so I can delete memory allocated and connected to the tree item. I have written an OnNotify() event handler, where I detect incoming...
  16. Replies
    3
    Views
    422

    Re: CTreeView ItemData cleanup on exit?

    Thanks, this solved the problem!

    /Magnus
  17. Replies
    3
    Views
    422

    CTreeView ItemData cleanup on exit?

    Hi,

    I have a CTreeView class, that implements the view class as a Tree control, there the OnInitialUpdate() member function dynamically creates data objects that are connected to the tree items by...
  18. Re: Status bar positioning (docking windows)

    thanks, i will try that!
    /Magnus
  19. Replies
    2
    Views
    360

    Re: RTF file generation

    Hi,

    Thanks for the suggestion, but this assumes the text is already available and formatted in the RichEditControl?

    (=I need to add the RTF tags myself in order to get the formatted text into...
  20. Replies
    2
    Views
    360

    RTF file generation

    Hi,

    Does anyone know a source code library (or commercial product) that I can call to create formatted RTF files from my application? I want to generate documents from my application, without...
  21. Status bar positioning (docking windows)

    Hi,

    I've got a framework with some docking windows, with one horizontal docking window in the bottom pane (supposed to be a output window similar to VC compile output).

    The problem is that the...
  22. Replies
    4
    Views
    387

    Re: Hi ya!

    Another nice guy have already helped me, here is the
    solution (I've tried, it works!):

    int CMainFrame::OnCreate(LPCREATESTRUCT lpCreateStruct)
    {
    [...]
    EnableDocking(CBRS_ALIGN_ANY); ...
  23. Replies
    2
    Views
    356

    Re: Toolbar positioning

    Excellent, many thanks!!!

    /Magnus
  24. Replies
    4
    Views
    387

    Re: Toolbars III

    Hi, I've got exactly the same problem! If you find a solution, would you please be so kind and publish the solution?

    Thanks!
    Magnus Unemyr
  25. Replies
    2
    Views
    356

    Toolbar positioning

    Hi, I've got several docking toolbars, that I want to dock horisontally just below the meny. This works reasonably well, apart from the fact that each toolbar creates a toolbar "row" by itself,...
Results 1 to 25 of 74
Page 1 of 3 1 2 3


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