Is there an easy way to create a thumbnail from a Windows Media Video file ? Thanks.
cromag
Posts
-
Create Thumbnail from WMV ? -
Howto: creating a dynamic menu?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.
-
Howto: creating a dynamic menu?Thanks!
-
Howto: creating a dynamic menu?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. -
Howto change the View of an SDI app ? (MFC)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.
-
Howto change the View of an SDI app ? (MFC)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
-
Howto change the View of an SDI app ? (MFC)I would like to change the view in a SDI app. I would like to have three different view of the same doc. Thanks.
-
ListBox.TopIndex...I found a way with IndexFromPoint.
-
ListBox.TopIndex...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
-
SetPixel with GDI+ ?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 !