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 » U++ Widgets - General questions or Mixed problems » PromptOK from CONSOLE_APP_MAIN, how?[SOLVED]
Re: PromptOK from CONSOLE_APP_MAIN, how? [message #1792 is a reply to message #1787] Sun, 19 March 2006 06:55 Go to previous messageGo to previous message
fudadmin is currently offline  fudadmin
Messages: 1321
Registered: November 2005
Location: Kaunas, Lithuania
Ultimate Contributor
Administrator
luzr wrote on Sun, 19 March 2006 04:59

fudadmin wrote on Sat, 18 March 2006 19:57

What do I need this code to work?

#include <CtrlLib/CtrlLib.h>

CONSOLE_APP_MAIN
{
	PromptOK("from CONSOLE_APP_MAIN");
}



Quite an unorthodox idea. Are creating GUI or CONSOLE app?

BTW, the only real difference on Win32 from system point of view is that console apps creates win32 console at the start (GUI app can create console as well, but needs to call AllocConsole).

On other platforms, there is no difference at all.

Mirek


I'd like even to have PromptOK(hwnd,"some text");,
where hwnd=NULL means desktop...

 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: DoubleClick or RightClick [SOLVED]
Next Topic: Why there are no SetParent() or SetOwner() ? [TOO DANGEROUS...]
Goto Forum:
  


Current Time: Mon Jun 09 06:49:13 CEST 2025

Total time taken to generate the page: 0.04380 seconds