Print Page | Close Window

popupmenu

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Toolkit Pro
Forum Description: Topics Related to Codejock Toolkit Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=11355
Printed Date: 15 November 2025 at 9:09am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: popupmenu
Posted By: mosenkum
Subject: popupmenu
Date Posted: 09 July 2008 at 2:09am
I  need to show filenames as popup-(submenu)
File -> new-> Filename
The submenu must be load dyamically.
 
How to use addsubitem,insertmenu,loadmenu,modifymenu,removemenu in xttoolkit.
I need samples.



Replies:
Posted By: Smucker
Date Posted: 09 July 2008 at 2:59am
See the DynamicPopups sample.



-------------
Product: Xtreme Toolkit Pro version 13.2 (Unicode, static build)

Platform: Windows 200x/XP/Vista/Win7 (32/64 bit)

Language: Visual C++ 9.0 (Studio 2008)



Posted By: mosenkum
Date Posted: 09 July 2008 at 4:02am

can u send me link.

The think C:\\senthil\\Themes

I want to display all Contents of themes folder to

View-> themes->Theme1,Theme2,Theme3 etc.

can you how to create sub menu dynamically  in Xttoolkit.

 

Thanks in advance

 



Posted By: Smucker
Date Posted: 09 July 2008 at 4:13am
As long as you installed the samples, it's on your system:

Start - Programs - Codejock Software - Xtreme Toolkit Pro - Visual Studio 200x Projects - Command Bars Samples - Dynamic Popups

I usually keep the "All Samples" solution open to search for stuff.



-------------
Product: Xtreme Toolkit Pro version 13.2 (Unicode, static build)

Platform: Windows 200x/XP/Vista/Win7 (32/64 bit)

Language: Visual C++ 9.0 (Studio 2008)



Posted By: mosenkum
Date Posted: 09 July 2008 at 5:04am
SHGetFolderPath: I am getting empty popup menu.
HOw to get exactly . In that dynamic  example desktop loaded.
I want to use SHGetFolderPath.to display exact folder contents.


Posted By: Smucker
Date Posted: 09 July 2008 at 6:25am
SHGetFolderPath returns the disk path for a specific CSIDL (such as CSIDL_DESKTOP), but does not enumerate the files within it. You'll need FindFirstFileEx() or the MFC CFileFind() to enumerate the files, then add an item to your menu for each file found.




-------------
Product: Xtreme Toolkit Pro version 13.2 (Unicode, static build)

Platform: Windows 200x/XP/Vista/Win7 (32/64 bit)

Language: Visual C++ 9.0 (Studio 2008)



Posted By: mosenkum
Date Posted: 10 July 2008 at 1:58am
thanks I did it.
How to selected the item in submenu using isselected,getselected
and handle some events.
 
 



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net