LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 03-29-2004, 08:35 AM   #1
el-512
LQ Newbie
 
Registered: Mar 2004
Posts: 3

Rep: Reputation: 0
WX Windows - wxGrid without Scrollbar


This question is about WX Windows - I also placed it in the WX forum, but nobody answered...

I want to draw a wxGrid element with the exact size of its containing fields, but always some scrollbars appear. Only if make the grid element 20 pixel taller (what I do not want) the scrollbars disappear.

Any help? Thank's
Markus

Here the details:

I use wxWindows 2.4.1 C++

grid = new wxGrid( item,-1,wxPoint( 0, 0 ), wxSize (max_col * 40, max_row * 20);
for (i=0; i < max_row; i++) {
grid->grid->SetRowSize(i,20);
}
for (i=0; i < max_col; i++) {
grid->grid->SetColSize(i,40);
}
grid->SetRowLabelSize( 0 );
grid->SetColLabelSize( 0 );
grid->EnableScrolling(false,false); // did not help!!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Custom scrollbar jilljack Programming 1 11-01-2005 09:34 AM
Scrollbar in Gtk+ 2.0 hpcpg Programming 0 03-29-2004 06:46 AM
No themed scrollbar in mozzila bolinux Linux - Software 8 10-17-2003 03:35 PM
Mozilla scrollbar not themed sub_pop_culture Linux - Software 0 02-24-2003 10:50 AM
touchpad's scrollbar not working eduardo_ha Linux - Hardware 1 12-08-2002 06:15 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 04:59 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration