Search found 22 matches

by CaptainMorgan
Sat Aug 11, 2007 7:36 am
Forum: C++ Development
Topic: Splitter window
Replies: 4
Views: 1976

Lloyd wrote:I am posting it here because it may be helpful to someone else also.
Thank you sir. Just what I was looking for.
-Capt
by CaptainMorgan
Thu Aug 09, 2007 4:51 am
Forum: C++ Development
Topic: wxSplitterWindow doesn't draw
Replies: 3
Views: 1013

Hi hate, To use a wxSplitterWindow you must add some content to it, like: wxspt_main = new wxSplitterWindow(this, SPLIT_MAIN, wxDefaultPosition, GetClientSize(), WXSPT_MAIN_SETTINGS); wxw_preview = new wxWindow(wxspt_main, SPLIT_PREVIEW, wxDefaultPosition, wxspt_main->GetClientSize()); wxw_live = n...
by CaptainMorgan
Thu Aug 09, 2007 4:42 am
Forum: C++ Development
Topic: Spllit frame
Replies: 2
Views: 811

I'd love to see the rest of the code, or some of the constructor.

How did you make out?

-Capt
by CaptainMorgan
Sun Jul 29, 2007 8:49 pm
Forum: C++ Development
Topic: Default ScrollBar? Can I make it not show by default?
Replies: 5
Views: 1064

Auria wrote:or fit your window so that is enough space for everything to be displaying at once
That's the problem I'm having. If I set the window to be larger, upon application run the scrollbar will be present. So no matter how large the window is, the scrollbar is appearing which is not what I want at all.
by CaptainMorgan
Sun Jul 29, 2007 9:50 am
Forum: C++ Development
Topic: Default ScrollBar? Can I make it not show by default?
Replies: 5
Views: 1064

Any thoughts?
by CaptainMorgan
Sat Jul 28, 2007 8:11 pm
Forum: C++ Development
Topic: Default ScrollBar? Can I make it not show by default?
Replies: 5
Views: 1064

Hi, thanks for replying. The grid is done like so: grid = new wxGrid( this, wxID_ANY, wxPoint( 0, 0 ), wxSize( 300, 300 ) ); grid->CreateGrid(8, 8); // disable the default dragging ability to // give it a slightly more board feel, // rather than an Excel feel grid->DisableDragColSize(); grid->Disabl...
by CaptainMorgan
Sat Jul 28, 2007 10:23 am
Forum: The Code Dump
Topic: Sample Application
Replies: 9
Views: 5320

I don't understand how you can say it can compile with a simple makefile - a few of your sources reference hyperlink.cpp and Windows.h <-- a windows platform header. Further, your references to headers are lower case when you've named the header files in uppercase. Why are you not implementing or us...
by CaptainMorgan
Sat Jul 28, 2007 9:03 am
Forum: C++ Development
Topic: problem about bitmap
Replies: 3
Views: 994

Lucky75 wrote:two threads below your post ;)

Adding Bitmaps to a frame:
http://forums.wxwidgets.org/viewtopic.php?t=151692

Or do you want icons that you can click?
Do you have an updated link? that one appears broken or lost..

Thanks
-Capt
by CaptainMorgan
Sat Jul 28, 2007 8:15 am
Forum: C++ Development
Topic: Default ScrollBar? Can I make it not show by default?
Replies: 5
Views: 1064

Default ScrollBar? Can I make it not show by default?

Please see: http://img509.imageshack.us/img509/7821/screenshotpg7.th.png I'm not sure what I'm doing or not doing to prevent that bar from showing. The whole 'board' is unresizable, except for that scrollbar. Is there a specific class/function that I am overlooking to solve my problem? Thanks in adv...
by CaptainMorgan
Mon Jul 16, 2007 2:03 am
Forum: C++ Development
Topic: problems with wxClientDC
Replies: 4
Views: 1135

don't reopen closed threads ;) but you can PM me any time... (what exactly are you asking for?) Are you an admin? Thread didn't look closed. You know, some can't win - open a brand new thread and others get mad cuz you're blamed for not researching ; use the search tools and people like you still g...
by CaptainMorgan
Sun Jul 08, 2007 3:44 am
Forum: C++ Development
Topic: problems with wxClientDC
Replies: 4
Views: 1135

Do you have any snippets of code you would like to share regarding the layout of the board?

-Capt
by CaptainMorgan
Sun Jul 08, 2007 3:41 am
Forum: C++ Development
Topic: board game
Replies: 7
Views: 1336

Could you show an example? I've already given you an example, and there is the samples too . Please an effort on your side and try some code. If it fails then you can post it and we can help. Where are these samples you speak of? In the samples/ of the wxWidgets installation? If so, which sample in...
by CaptainMorgan
Sun Jul 08, 2007 3:40 am
Forum: The Code Dump
Topic: Sample Application
Replies: 9
Views: 5320

I really wanted to learn how you displayed the grid which holds or contains the balls.. but ugh... it wouldn't compile as it's Windows code and I use Linux only.

:(
by CaptainMorgan
Sun Jul 08, 2007 1:59 am
Forum: Announcements and Discoveries
Topic: Enhanced wxGrid
Replies: 32
Views: 15449

Can someone please help me out with making an 8 x 8 fixed size-cells which should be square in nature - ie, a checkered playing board. Every piece of code I implement or dream up makes cells that are resizeable. Considering the nature of the layout, I do not want the cells to be resizeable... any su...
by CaptainMorgan
Sun Jul 01, 2007 7:10 am
Forum: The Code Dump
Topic: Sample Application
Replies: 9
Views: 5320

Any chance this link could be updated? It appears broken for me...

TIA