Search found 123 matches

by tiwag
Tue Feb 21, 2006 8:47 pm
Forum: C++ Development
Topic: wxListCtrl - how to right-aligne the first column ?
Replies: 8
Views: 1718

thanks Oneeyeman for your tips, i solved the issue by inserting a dummy column 0 which isn't shown. all subsequent columns can be right-aligned i'm using WinXP, but this doesn't matter, it seems to me as it is a wx bug. in the meantime i found another code-fragment by googling around, with a remark,...
by tiwag
Tue Feb 21, 2006 11:17 am
Forum: C++ Development
Topic: wxListCtrl - how to right-aligne the first column ?
Replies: 8
Views: 1718

tiwag, ... create a simngle-line edit box for the path. ... hahaha - how do you output data from a "search in files" query in a single-line edit box ? i'll explain it: assume you searched for "error" in all of your project files, then the search-log output should look like: columns alignement mode ...
by tiwag
Tue Feb 21, 2006 10:32 am
Forum: C++ Development
Topic: problem accessing globals in C library
Replies: 11
Views: 1644

Raghu wrote:... I'm creating the library first where I used extern for the shared structures...
that's your problem, you didn't understand the meaning of extern keyword.

you have to use extern where you want to use an external symbol
and not where you define it !
by tiwag
Tue Feb 21, 2006 10:16 am
Forum: C++ Development
Topic: problem accessing globals in C library
Replies: 11
Views: 1644

Is it possible to share structures between a application and library. ... i'm doing this too and it works without problems i'm using wx262 and gcc 3.4.4 just be shure that you've defined the variables you want to share as global and NOT "static" !!! --- ext_lib.h ------------ /* * ext_lib.h * * sta...
by tiwag
Tue Feb 21, 2006 8:01 am
Forum: C++ Development
Topic: problem accessing globals in C library
Replies: 11
Views: 1644

This solution is for functions. I want to use global variables and structures across the apllication and library. then you simply define extern struct my_ext_struct; extern int my_ext_global_int_var; read this http://www.gdv.uni-hannover.de/doc/cpp/TIC2Vone-distribution/html/Frames.html http://www....
by tiwag
Tue Feb 21, 2006 7:31 am
Forum: C++ Development
Topic: problem accessing globals in C library
Replies: 11
Views: 1644

it is because of C and CPP are using different names for functions (name-mangling) use extern "C" so that the compiler knows which name-mangling method to use #ifdef __cplusplus extern "C" { #endif //put your function declarations here int my_c_library_function ( int ); #ifdef __cplusplus } #endif
by tiwag
Tue Feb 21, 2006 6:46 am
Forum: C++ Development
Topic: wxListCtrl - how to right-aligne the first column ?
Replies: 8
Views: 1718

is that a known wxWidgets bug ?
by tiwag
Mon Feb 20, 2006 8:11 pm
Forum: C++ Development
Topic: wxListCtrl - how to right-aligne the first column ?
Replies: 8
Views: 1718

Hi, tiwag, Maybe its an OS behavior? Why do you need this? want to display in the first colum filenames with pathes, its hard to read when left-aligned and filenames have very long and of course different sizes... Maybe you will be beter with the Grid? maybe, but an existing project is using alread...
by tiwag
Mon Feb 20, 2006 7:53 pm
Forum: C++ Development
Topic: wxListCtrl - how to right-aligne the first column ?
Replies: 8
Views: 1718

wxListCtrl - how to right-aligne the first column ?

i created a wxListCtrl with 3 columns, i can right-aligne columns 1 and 2 without problems, but column 0 is always Left-aligned regardless which alignement flags i send, someone who knows a workaround ? i'm using wxMSW-2.6.2 this is the modified code from the listctrl sample: void MyFrame::InitWithR...
by tiwag
Fri Jan 20, 2006 7:17 pm
Forum: wxDev-C++
Topic: 6.9alpha release
Replies: 34
Views: 6753

is there any download existing with binaries only in a zipfile ? (as it was offered in former times ) i don't need the wxwidgets stuff, i've my wxWidgets builds already on my HD. thx Yes go here: http://ninjanl.homedns.org/wxdevcpp/wxdevcpp_alpha_testing/ or here: http://reina.homedns.org/wxdevcpp/...
by tiwag
Fri Jan 20, 2006 5:31 pm
Forum: wxDev-C++
Topic: 6.9alpha release
Replies: 34
Views: 6753

is there any download existing with binaries only in a zipfile ? (as it was offered in former times )

i don't need the wxwidgets stuff, i've my wxWidgets builds already on my HD.

thx
by tiwag
Mon Jan 02, 2006 7:28 pm
Forum: wxCode
Topic: Monolithic builds support in wxCode components
Replies: 5
Views: 1686

sethjackson wrote:Yes I do although I don't use SHARED=1 (DLL).
you should try it - it cuts linkage time down by 80% (at least when using the gcc tortoise linker )
by tiwag
Mon Jan 02, 2006 4:10 pm
Forum: wxCode
Topic: Monolithic builds support in wxCode components
Replies: 5
Views: 1686

Re: Monolithic builds support in wxCode components

normally i only use the monolithic unicode shared library of wxWidgtes.
only some small commandline-tools which needs som wxbase stuff i link statically using only wxbase
by tiwag
Sun Jan 01, 2006 9:03 pm
Forum: The Code Dump
Topic: wxFlatNotebook
Replies: 248
Views: 57523

has anybody built this wxFlatNotebook lib and Test-demo with MinGW gcc ?? i tried it - built wxFlatNoteBook as static lib, everything compiles smoothly, but got stuck at linktime with the event-types class IMPLEMENT_DYNAMIC_CLASS(wxFlatNotebookEvent, wxNotifyEvent) DEFINE_EVENT_TYPE(wxEVT_COMMAND_FL...
by tiwag
Tue Aug 23, 2005 9:41 pm
Forum: C++ Development
Topic: Newlines in tooltips
Replies: 16
Views: 2654

has any investigation be done about this ? in wx-cvs there is no change in /src/msw/tooltip.cpp , it's still version 1.43 // RCS-ID: $Id: tooltip.cpp,v 1.43 2005/06/14 17:43:45 ABX Exp $ i have similar problems as described by ascMike, from XRC resources loaded tooltips, which are shown perfectly as...