Print Page | Close Window

ShowPopup Return Value

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Command Bars
Forum Description: Topics Related to Codejock Command Bars
URL: http://forum.codejock.com/forum_posts.asp?TID=12700
Printed Date: 18 June 2025 at 7:45am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: ShowPopup Return Value
Posted By: ScottW
Subject: ShowPopup Return Value
Date Posted: 17 November 2008 at 1:53pm
What is the value returned from ShowPopup? It seems to always show 1 regardless of whether an option was selected or not. Would it be possible to have this return the ID of the tool selected, or 0 if the menu was cancelled without any selection? I can use it fine as-is, this would just be a nice convenience if that return value isn't really used for anything else. Thanks.



Replies:
Posted By: Oleg
Date Posted: 18 November 2008 at 3:31am
Hi,
 
Use TPM_RETURNCMD flag.


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS



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