Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » TopWindow&PopUp, TrayIcon » how to start TopWindow without GUI_APP_MAIN from other apps? [NEEDS IMPLEMENTATION...]
Re: how to start TopWindow without GUI_APP_MAIN from other apps? [message #1769 is a reply to message #1766] Sat, 18 March 2006 11:36 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 14256
Registered: November 2005
Ultimate Member
fudadmin wrote on Sat, 18 March 2006 03:00

luzr wrote on Sat, 18 March 2006 07:56

fudadmin wrote on Sat, 18 March 2006 02:52

how to start TopWindow without GUI_APP_MAIN from other apps?


Could you be more specific?

Is it about mixing U++ as "sublibrary" of application written using other framework?

Mirek


something like that... Wink. Would it be enough to re-write that macro?



Yes.

In fact, those admittedly ugly macros serve two purposes:

- they hide main (Linux) vs. WinMain (Win) diferences
- they call some initialization and deinitialization code

BTW, alternatively, if your "main framework" is not using something similar (e.g. MFC does Smile, it should be relatively harmless to use macros even in such framework...

Mirek
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Resizing a TopWindow but keeping the width/height ratio fixed?
Next Topic: TopWindow Partial Invisibility Option?
Goto Forum:
  


Current Time: Fri May 02 14:21:06 CEST 2025

Total time taken to generate the page: 0.00771 seconds