Search found 24 matches

by schmallaria
Mon Feb 27, 2006 3:03 pm
Forum: Platform Related Issues
Topic: [WINCE] - menu sample not working on wince
Replies: 1
Views: 887

[WINCE] - menu sample not working on wince

hello, after getting my brand new windows mobile 5.0 device i want to do some experiments with wxwidgets and this device. but when i compile the wxwidgets menu sample it don't work on the device. there is no menubar, i can only see the button for the display keyboard. when i start the same executabl...
by schmallaria
Tue Oct 25, 2005 9:31 am
Forum: C++ Development
Topic: convert bitmap to hexadecimal
Replies: 6
Views: 4457

i want the data in hex form. here is my code: wxBitmap bmp; wxImage img; wxFile f; wxString rtf= wxT("{\\rtf1{\\pict\\picscalex100\\picscaley100\\picw423\\pich423\\picwgoal240\\pichgoal240\\wmetafile8"); bmp.LoadFile(wxString(file), wxBITMAP_TYPE_BMP); img = bmp.ConvertToImage(); if(f.Open...
by schmallaria
Tue Oct 25, 2005 8:54 am
Forum: C++ Development
Topic: convert bitmap to hexadecimal
Replies: 6
Views: 4457

ok, i have to do something like this: {\rtf1{\pict\picscalex100\picscaley100\picw423\pich423\picwgoal240\pichgoal240\wmetafile8 010009000003a600000000008200000000000400000003010800050000000b0200000000050000000c02100010000500000007010400000082000000430f2000 cc00000010001000000000001000100000000000280...
by schmallaria
Tue Oct 25, 2005 8:27 am
Forum: C++ Development
Topic: convert bitmap to hexadecimal
Replies: 6
Views: 4457

convert bitmap to hexadecimal

hello,

i want to use a bitmap in the RichTextFormat.
therefore i have to get the hexadecimal data from the bitmap.

how can i do that?

thanks...
by schmallaria
Tue Sep 27, 2005 8:40 am
Forum: C++ Development
Topic: wxCheckBox - multiline style
Replies: 4
Views: 2057

\r\n dont't work :( . i think the problem is: wxWidgets don't supports the BS_MULTILINE style on MSW. here is the code of the create function from wxCheckBox bool wxCheckBox::Create(wxWindow *parent, wxWindowID id, const wxString& label, const wxPoint& pos, const wxSize& size, long style...
by schmallaria
Mon Sep 26, 2005 12:07 pm
Forum: C++ Development
Topic: wxCheckBox - multiline style
Replies: 4
Views: 2057

wxCheckBox - multiline style

hello,

is there a way to make the text that goes with a wxCheckBox wrap to the next line?
by schmallaria
Wed Sep 21, 2005 1:42 pm
Forum: Platform Related Issues
Topic: xrc under wince
Replies: 1
Views: 1390

xrc under wince

hello, after compiling the xrcdemo from the sample directory the linker throws the following errors: wxwince26d.lib(xh_datectrl.obj) : error LNK2019: unresolved external symbol "public: bool __cdecl wxDatePickerCtrl::Create(class wxWindow *,int,class wxDateTime const &,class wxPoint const &...
by schmallaria
Wed Sep 21, 2005 8:45 am
Forum: C++ Development
Topic: scroll content of a dialog
Replies: 10
Views: 2894

i have forgotten a line of code:

simply add

Code: Select all

wnd->SetScrollbars(20,20,50,50); 
and it works :D

thank you guys
by schmallaria
Wed Sep 21, 2005 8:11 am
Forum: C++ Development
Topic: scroll content of a dialog
Replies: 10
Views: 2894

thank you for your answer ...now i see the modal dialog with the scrollwindow and my controls, but i don't see the scrollbar and it doesn't scroll. here is the code i use for (i use evc++ and the wince port of wxwidgets): MyDialog::MyDialog(const wxString& title) : wxDialog(NULL, wxID_ANY, title...
by schmallaria
Wed Sep 21, 2005 7:17 am
Forum: C++ Development
Topic: scroll content of a dialog
Replies: 10
Views: 2894

exactly this is my problem. when i use a wxDialog everything is fine. the main application stop, the user can click a button and the the dll function returned to the main application. but how to scroll the content of the dialog? there are a lot of controls and to see all i have to scroll down with a...
by schmallaria
Wed Sep 21, 2005 7:01 am
Forum: C++ Development
Topic: scroll content of a dialog
Replies: 10
Views: 2894

the problem was:

i dont't know how to scroll the dialog.

when i use a frame and the function MakeModal, the frame is created but i didn't see it and after the construction of the frame the the dll funtion returned to the main application.
by schmallaria
Wed Sep 21, 2005 6:32 am
Forum: C++ Development
Topic: scroll content of a dialog
Replies: 10
Views: 2894

i dosn't work :( ... let me explain what i want to do: my main application (developed with mfc) calls a function from a dll (developed with wxwidgets). when the function is called a modal dialog will be created (this is because the main application have to stop until the user ends the dialog). on th...
by schmallaria
Tue Sep 20, 2005 2:48 pm
Forum: C++ Development
Topic: scroll content of a dialog
Replies: 10
Views: 2894

thank you for your reply...i would try to test it.
by schmallaria
Tue Sep 20, 2005 2:42 pm
Forum: C++ Development
Topic: scroll content of a dialog
Replies: 10
Views: 2894

scroll content of a dialog

hello,

i have to scroll the content of a modal dialog.

how can i do this?

can i use wxScolledWindow? it's needfull to create the dialog modal because the program have to wait until the user ends the dialog.
by schmallaria
Tue Sep 20, 2005 2:39 pm
Forum: Platform Related Issues
Topic: [WinCE] - printing
Replies: 4
Views: 1453

no that's not related to printing...this is a preliminary for printing. i searched for the problem, but there is no solution.

i think i started a new thread in the c++ development section.