hello, while working wth wxsmith,i bumped into a problem tha id like to consult with you guys .
why isnt it possible to add a bitmap picture as a background of app
in a wxpanel and meanwhile be able to add buttons,wxchoice and etc so that they be visible(they can be seen )!?
and why a bitmap button in this situation doesn't function!?
Hmm, you can do it it by adding handler for EVT_PAINT event. Let's say that you have bitmap in m_SomeBitmap variable, code similar to this should work:
void SomeFrame::OnPaint(wxPaintEvent& event)
{
wxPaintDC dc( this );
dc.DrawBitmap( m_SomeBitmap, 0, 0, true );
}
Putting some bitmap button or anything else at the bottom is rather a workaround and trying to put one item on another causes strange effect on windows (for example items are drawn in one order but process mouse events in opposite).
by the way how is it possible to add our own custom menu bar !? again imagin i m planing to give my application a look and feel of Mac Os x under different OSes! how to achieve that ?
would you sth about this Option,;customized menu and theme , and Other stuff ?
(just let the user decide to use a default menu bar or no define its own bar, just like Microsoft Visual Studio , that you can do such a thing in a Properties pane of the Window!)
wxWidgets doesn't provide alternative to standard menus by default. There could be some some implementations somewhere on the net but I haven't seen that.
And also , is there any way to insert a flash object and make it function as button! lets say using a flash button in wxsmith, sth just like bitmap button! if not can you implement such a thing in adoring Wxsmith?
Do you mean the flash used in web sites? If so then quick answer: no. Even web browsers need plugins for this since decoding flash is a huge challenge.
And I would almost forgot. Thsi topic was related to development process of wxSmith, not developing using wxSmith. It should be posted somewhere in the "users forums".
BTW. Why this post is "in the name of God" ?
Regards
BYO
tanx byo for your help , the reason , i posted such a thing here was that , i thought , they could be implemented in Wxsmith ! why ? cuz again i though they are a must have and you forgot to add them to the Wxsmith project !!
well by saying the flash buttons , i mean a button made using some flash button creation software such as Armada flash suit or adobe Flash Cs3!( i wonder if you saw KmPlayer, the latest version, it uses such buttons if think!), so that you can use them in your project !the mouse hovers,and it changes ! you know that !
(if again these things need to use plugins , tell me please! )
and That "In the name of God" it my habit !when ever im badly in need of sth and i hope everything goes ok , i start my work (rather start coding a new project or ask new stuff) with the name of God .
again Byo many tanx, and im sorry if my post was no related to this topic , please consider them as some suggestion on improving Wxsmith! ( ive seen these stuff in VS, so i thought i could be a good idea to implement them in WxSmith too !)