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 » Exclamation doesnt show the text...
Exclamation doesnt show the text... [message #16709] Tue, 08 July 2008 10:44 Go to next message
kbyte is currently offline  kbyte
Messages: 87
Registered: July 2008
Member
Hi,
When I try the UWord example the exclamation functions show the messagebox windows but text doesnt appear.
I have a very simple sample app that demonstrates this problem. Here is it:


aaa.h

#ifndef _aaa_aaa_h
#define _aaa_aaa_h

#include <CtrlLib/CtrlLib.h>

using namespace Upp;

#define LAYOUTFILE <aaa/aaa.lay>
#include <CtrlCore/lay.h>

class aaa : public WithaaaLayout<TopWindow>
{
public:
typedef aaa CLASSNAME;
aaa();
};

#endif


aaa.cpp

#include "aaa.h"
aaa::aaa()
{
CtrlLayout(*this, "Window title");
Exclamation("dfsdfasdfasdfsadf");
}

GUI_APP_MAIN
{
aaa().Run();
}



There is a printscreen in attachment that shows the "empty" message box.

Thank you very much,


Kim
Re: Exclamation doesnt show the text... [message #16710 is a reply to message #16709] Tue, 08 July 2008 10:46 Go to previous messageGo to next message
kbyte is currently offline  kbyte
Messages: 87
Registered: July 2008
Member
Here is the printscreen

Kim
  • Attachment: aaa.JPG
    (Size: 5.42KB, Downloaded 282 times)
Re: Exclamation doesnt show the text... [message #16714 is a reply to message #16709] Tue, 08 July 2008 14:36 Go to previous messageGo to next message
forlano is currently offline  forlano
Messages: 1182
Registered: March 2006
Location: Italy
Senior Contributor
kbyte wrote on Tue, 08 July 2008 10:44

Hi,
When I try the UWord example the exclamation functions show the messagebox windows but text doesnt appear.
...Kim


Hello,

please post even the .lay file. But better is to post the zipped directory containing the test package.

luigi
Re: Exclamation doesnt show the text... [message #16717 is a reply to message #16709] Tue, 08 July 2008 15:00 Go to previous messageGo to next message
kbyte is currently offline  kbyte
Messages: 87
Registered: July 2008
Member
Hi, and thank you.

Here is the test application zip package

Kim
  • Attachment: aaa.zip
    (Size: 0.92KB, Downloaded 287 times)
Re: Exclamation doesnt show the text... [message #16719 is a reply to message #16717] Tue, 08 July 2008 15:50 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
For me, it works as expected.

Which version of U++ are you using?

Mirek
Re: Exclamation doesnt show the text... [message #16721 is a reply to message #16709] Tue, 08 July 2008 16:06 Go to previous messageGo to next message
kbyte is currently offline  kbyte
Messages: 87
Registered: July 2008
Member
version 2007.1 on win xp.
For now I have to use this version. Maybe on the future I download the later one.

It happens also in the UWork sample...
The text is not shown but is shows something in a light blue on the exnd of the siposed text position... Please see the print screen

Thank you


Kim
Re: Exclamation doesnt show the text... [message #16724 is a reply to message #16721] Tue, 08 July 2008 18:10 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
I think this is a bug fixed some time ago.

Too bad we are somewhat struggling to get the 2008 release out... Sad

Mirek
Re: Exclamation doesnt show the text... [message #16727 is a reply to message #16709] Tue, 08 July 2008 18:35 Go to previous messageGo to next message
kbyte is currently offline  kbyte
Messages: 87
Registered: July 2008
Member
Ok, thank you. I will try to fix it by debunging into upp internals...

By the way, there was a time that I run the example above and the text was shown... Hence, sometimes it is shown other times it is not.

Thank you very much

Kim
Re: Exclamation doesnt show the text... [message #16730 is a reply to message #16710] Tue, 08 July 2008 19:36 Go to previous messageGo to next message
tojocky is currently offline  tojocky
Messages: 607
Registered: April 2008
Location: UK
Contributor

kbyte wrote on Tue, 08 July 2008 11:46

Here is the printscreen

Kim


Download the last svn release from here. It woks fine!
Re: Exclamation doesnt show the text... [message #16739 is a reply to message #16709] Wed, 09 July 2008 12:33 Go to previous messageGo to next message
kbyte is currently offline  kbyte
Messages: 87
Registered: July 2008
Member
Ok, I will download it in order to fix the problem on the 2007 version.

Look, I made a mistake on the past when I change the upp internals code instead of use hineritance and so one, but those base classes I changed was not easy to create derived classes for them... So I changed directly the core classes and now I am tied to that version and to the version I have on my PC. I have to review this... Sad

Thanks

Kim
Re: Exclamation doesnt show the text... [message #16740 is a reply to message #16709] Wed, 09 July 2008 12:35 Go to previous messageGo to next message
kbyte is currently offline  kbyte
Messages: 87
Registered: July 2008
Member
By the way, how can I call the win32 MessageBox?


Kim
Re: Exclamation doesnt show the text... [message #16741 is a reply to message #16739] Wed, 09 July 2008 12:45 Go to previous messageGo to next message
mr_ped is currently offline  mr_ped
Messages: 825
Registered: November 2005
Location: Czech Republic - Praha
Experienced Contributor
kbyte wrote on Wed, 09 July 2008 12:33

Ok, I will download it in order to fix the problem on the 2007 version.

Look, I made a mistake on the past when I change the upp internals code instead of use hineritance and so one, but those base classes I changed was not easy to create derived classes for them... So I changed directly the core classes and now I am tied to that version and to the version I have on my PC. I have to review this... Sad

Thanks

Kim


Try to do "diff" with original sources to see how much you changed, maybe it will be not that bad, and easy to move into 2008?

Eventually if some of those patches are general and everybody can profit from them, you can try to pursue Mirek to add them into core, so you don't have to patch those later.
Re: Exclamation doesnt show the text... [message #16742 is a reply to message #16740] Wed, 09 July 2008 13:42 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
kbyte wrote on Wed, 09 July 2008 06:35

By the way, how can I call the win32 MessageBox?


Kim


What about Win32 API? Smile

Mirek
Re: Exclamation doesnt show the text... [message #16751 is a reply to message #16709] Wed, 09 July 2008 20:37 Go to previous message
kbyte is currently offline  kbyte
Messages: 87
Registered: July 2008
Member
Yes, thats it, win32 API but I dont know how to call a win32 api thats why I asked how to show a win32 MessageBox Wink

Ok, In this afternoon I doenloaded the lastest upp and I already fixed all the bounding modifications I did for the 2007 version. Now all the message boxes work but another problem arrives. It is the SetStyle function on edit boxes, but I will create another thread for this one

Thank you!

Kim
Previous Topic: Can we get OptionTree:ManualMode?
Next Topic: Can't Get DropGrid Working
Goto Forum:
  


Current Time: Fri Mar 29 03:35:54 CET 2024

Total time taken to generate the page: 0.01397 seconds