Search found 350 matches

by Lloyd
Tue Jun 26, 2007 10:23 am
Forum: C++ Development
Topic: problem with sizer
Replies: 4
Views: 949

Hi DavidHart, Again Thank you verymuch for helping me. Replacing the Fit() with Layout() has solved the problem. As you said, I understand that the way I have implemnted it is not right or neat. So I am taking your suggestion seriously and planning to change the code. So, what I understand from your...
by Lloyd
Tue Jun 26, 2007 10:07 am
Forum: C++ Development
Topic: how to get system image list
Replies: 6
Views: 1845

If you are on windows, you are lucky :) You can get the open command and icon associated with a file with wxMimeTypesManager and wxFileType classes. If you are on linux sorry, it is not working for me (al least getting the icon). Get open command work good on 2.8.4 but not that in 2.6.3. A sample co...
by Lloyd
Tue Jun 26, 2007 8:01 am
Forum: C++ Development
Topic: block button and combobox
Replies: 1
Views: 456

Yo can call wxWindow::Disable() method

combo->Disable()
button->Disable()
by Lloyd
Tue Jun 26, 2007 6:29 am
Forum: C++ Development
Topic: problem with sizer
Replies: 4
Views: 949

problem with sizer

Hi, There is a class derived from wxEvthandler (let it be UI), which contain some notebooks,windows and splitters. When my application starts it just shows the main frame. Then when the user opens an input file successfully, we place UI on main frame and when the user closes the input file, we remov...
by Lloyd
Mon Jun 25, 2007 11:17 am
Forum: C++ Development
Topic: Sending menu Event
Replies: 3
Views: 1162

Thank you very much benedicte. It works fine now :)

Sorry mac, it seems my question was not clear for you. The check box is on a separate dialog not on the main frame.

Thanks,
Lloyd
by Lloyd
Mon Jun 25, 2007 10:00 am
Forum: C++ Development
Topic: Sending menu Event
Replies: 3
Views: 1162

Sending menu Event

Hi, I have a checked menu in my application. There is also a dialog which has a check box. Whenever the user checks/unchecks the check box, I want to update the status of the menu as well. How can I do this? (I thought of sending an event to the main frame where the menu is placed, but how can I mak...
by Lloyd
Fri Jun 22, 2007 2:42 pm
Forum: C++ Development
Topic: wxListCtrl icon view mode image is overlapped in win2000
Replies: 4
Views: 1157

If you are interested in Julian's Thumb nail control, here it is-

http://www.anthemion.co.uk/wxwin/thumbnail.zip

Regards,
Lloyd
by Lloyd
Fri Jun 22, 2007 12:54 pm
Forum: C++ Development
Topic: set a string data in a particular column of a wxListctrl
Replies: 2
Views: 654

wxListCtrl::InsertItem
long InsertItem(wxListItem& info)

wxListItem::SetColumn()
wxListItem::SetText()

These three functions will do the work. make a list item and set its column and text. Then insert it.

Regards,
Lloyd
by Lloyd
Thu Jun 21, 2007 2:10 pm
Forum: C++ Development
Topic: Confused using wxStaticBitmap
Replies: 3
Views: 1027

I would suggest you to try using the sizers appropriately.
by Lloyd
Thu Jun 21, 2007 12:26 pm
Forum: C++ Development
Topic: insert a row in a wxListCtrl
Replies: 3
Views: 982

wxListCtrl::InsertItem()
by Lloyd
Thu Jun 21, 2007 10:57 am
Forum: C++ Development
Topic: how do I detect the scrollable length of a wxSlider?
Replies: 2
Views: 718

wxSlider::GetMin, wxSlider::GetMax
by Lloyd
Tue Jun 19, 2007 2:42 pm
Forum: C++ Development
Topic: Sizer on mainframe
Replies: 9
Views: 2591

Yes Santhor, I tried it and it works!! :) Sorry for the delay in checking that :(

Thank you very much....

Regards,
Lloyd
by Lloyd
Tue Jun 19, 2007 1:52 pm
Forum: C++ Development
Topic: Sizer on mainframe
Replies: 9
Views: 2591

Sorry biplab, your code could not make any change :(

Any other hints...

Regards,
Lloyd
by Lloyd
Tue Jun 19, 2007 12:13 pm
Forum: C++ Development
Topic: Sizer on mainframe
Replies: 9
Views: 2591

Not sure but should pages of a notebook be wxPanel???
I think it is not necessary. (It can be any wxWindow derived class)

Regards,
Lloyd
by Lloyd
Tue Jun 19, 2007 6:49 am
Forum: C++ Development
Topic: Sizer on mainframe
Replies: 9
Views: 2591

Thank you Santhor, I agree with that.

But what is the reason for the effect of wxHORIZONTAL and wxVERTICAL orientation of the sizers. How can I effectively use sizers in this kind of scenarios?

Regards,
Lloyd