Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
C

cromag

@cromag
About
Posts
10
Topics
5
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Create Thumbnail from WMV ?
    C cromag

    Is there an easy way to create a thumbnail from a Windows Media Video file ? Thanks.

    C# question

  • Howto: creating a dynamic menu?
    C cromag

    One more question (I hope it will be the last one). How can I repaint the menu? When I dynamicly add menu item to the menu, the new menu is draw only when I point the mouse over it. And things get worst why I delete the menu item. The old menu item still paint under the other until the app is hide and show again. I have try to invalidate the mainframe, send WM_PAINT message but none of theses work. Any ideas ? Thanks.

    C / C++ / MFC help question

  • Howto: creating a dynamic menu?
    C cromag

    Thanks!

    C / C++ / MFC help question

  • Howto: creating a dynamic menu?
    C cromag

    I would like to create a top menu item with a submenu. I am able to create the topmenu item, but not the submenu unser it. This is used in a SDI app. void CMyView::CreateOperationMenu() { CMainFrame* pMainFrame = (CMainFrame*)AfxGetMainWnd(); CMenu* pMainMenu = pMainFrame->GetMenu(); // insert the topmenu item if (!pMainMenu->InsertMenu(2, MF_BYPOSITION, 0, "Operation")) return; // get to submenu to add the items CMenu* pSubMenu = pMainMenu->GetSubMenu(2); // ERROR: pSubMenu is always NULL } Thanks.

    C / C++ / MFC help question

  • Howto change the View of an SDI app ? (MFC)
    C cromag

    I don't want to change the toolbar, but the menu. And not all of the menu, only the sub-menu of a top level menu item.

    C / C++ / MFC c++ question

  • Howto change the View of an SDI app ? (MFC)
    C cromag

    Thanks, thats work fine! The next thing that I would like to have, is a dynamic menu for each views. The main menu will contain a top menu item called "Operation" and each views will have different operations. So, how can I do that? My first idea was to create a popup menu for each views and attach the popup menu to the top menu "Operation". But I really need help to do that. Thanks again. -- modified at 11:18 Thursday 5th January, 2006

    C / C++ / MFC c++ question

  • Howto change the View of an SDI app ? (MFC)
    C cromag

    I would like to change the view in a SDI app. I would like to have three different view of the same doc. Thanks.

    C / C++ / MFC c++ question

  • ListBox.TopIndex...
    C cromag

    I found a way with IndexFromPoint.

    C# database tutorial question

  • ListBox.TopIndex...
    C cromag

    I'm using a ListBox without the scrollbar and I want to have a visual indicator to show that there is more item on the top or on the bottom of the ListBox. For the top I use TopIndex, but for the bottom ? BottomIndex doesn't exist. So, how to know the last visible index of a listbox ? Thanks

    C# database tutorial question

  • SetPixel with GDI+ ?
    C cromag

    My program is a small GIS and I was using GDI to display maps and informations. Now I would like to use GDI+ and I didn't find any function to draw a pixel ? Do I have to use GDI to draw pixels and GDI+ to draw the other stuff ? Thanks !

    C / C++ / MFC winforms graphics question
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups