мммм... не хотелось бы ради такой ерунды целую либу цеплять...
Не обязательно wxImage, можно и wxBitmap или HBITMAP.
Search found 53 matches
- Thu Jan 22, 2009 2:00 pm
- Forum: wxWidgets Development (Russian)
- Topic: wxImage ярче
- Replies: 2
- Views: 2131
- Thu Jan 22, 2009 10:34 am
- Forum: wxWidgets Development (Russian)
- Topic: wxImage ярче
- Replies: 2
- Views: 2131
wxImage ярче
Как сделать image ярче?
т.е. нужен такой эффект как в тулбаре - наводишь мышой на кнопку - кнопка становиться ярче, только в тулбаре меняется цвет а у меня битмап кнопка - значицо задача сделать битмап ярче.
т.е. нужен такой эффект как в тулбаре - наводишь мышой на кнопку - кнопка становиться ярче, только в тулбаре меняется цвет а у меня битмап кнопка - значицо задача сделать битмап ярче.
- Tue Dec 23, 2008 7:24 am
- Forum: wxWidgets Development (Russian)
- Topic: wxWidgets и оператор NEW.
- Replies: 8
- Views: 4631
- Fri Dec 19, 2008 10:15 am
- Forum: C++ Development
- Topic: Show a directory content?
- Replies: 4
- Views: 2185
- Thu Dec 11, 2008 10:46 am
- Forum: wxWidgets Development (Russian)
- Topic: Ошибка *.o файлов
- Replies: 8
- Views: 4423
- Tue Dec 09, 2008 9:49 am
- Forum: wxWidgets Development (Russian)
- Topic: Merge fixed rows in wxGrid
- Replies: 2
- Views: 1962
Merge fixed rows in wxGrid
Можно ли создать больше одного фиксированного поля (аля RowLabel)? и как их объединять?
Есть ли другие бесплатные Grid'ы с такой поддержкой?
Есть ли другие бесплатные Grid'ы с такой поддержкой?
- Tue Oct 21, 2008 7:38 am
- Forum: wxWidgets Development (Russian)
- Topic: Как сэмулировать пользовательск
- Replies: 1
- Views: 1720
а чем это не походит:
пример:
Code: Select all
wxListCtrl::SetItemState
Code: Select all
int cnt = pListCtrl->GetItemCount();
for (int i = 0; i < cnt; ++i)
pListCtrl->SetItemState(i, wxLIST_STATE_SELECTED, wxLIST_STATE_SELECTED);
- Tue Oct 21, 2008 7:26 am
- Forum: wxWidgets Development (Russian)
- Topic: Повторная активация диалога
- Replies: 4
- Views: 3590
- Wed Jun 25, 2008 11:43 am
- Forum: C++ Development
- Topic: wxImage and www.google.com/favicon.ico
- Replies: 1
- Views: 1666
wxImage and www.google.com/favicon.ico
Try to load and save google's favicon:
Result: Half of image is under black background! Why?
Code: Select all
wxImage img;
bool b = img.LoadFile(L"c:\\favicon.ico", wxBITMAP_TYPE_ANY);
b = img.SaveFile(L"c:\\favicon2.ico", wxBITMAP_TYPE_ICO);
- Fri Mar 14, 2008 6:51 am
- Forum: C++ Development
- Topic: SetUserScale calculate
- Replies: 0
- Views: 995
SetUserScale calculate
Hi I need to calculate picture size after zoom for assign correct scroll position. what im do: 1) Load image into m_bitmap; 2) actualScale is initialized to 1.0 3) Then call UpdateBitmap() func. This function calculate scroll positions. void wxDrawPanel::UpdateBitmap() { m_realBitmapWidth = m_bitmap...
- Wed Feb 20, 2008 12:25 pm
- Forum: C++ Development
- Topic: wxPopup and Sizer
- Replies: 2
- Views: 1463
- Wed Feb 20, 2008 11:31 am
- Forum: C++ Development
- Topic: wxPopup and Sizer
- Replies: 2
- Views: 1463
wxPopup and Sizer
class MyPopup : public wxPopupWindow { public: MyPopup(); }; MyPopup::MyPopup() { wxWindow* parent = wxTheApp->GetTopWindow(); wxPopupWindow::Create(parent); MyPopup *itemDialog1 = this; wxBoxSizer* itemBoxSizer2 = new wxBoxSizer(wxVERTICAL); itemDialog1->SetSizer(itemBoxSizer2); wxBoxSizer* itemBo...
- Mon Feb 18, 2008 9:46 am
- Forum: C++ Development
- Topic: Scintilla 1.70
- Replies: 0
- Views: 855
Scintilla 1.70
I'm using wxWidgets 2.8.7
And i have couple questions about Scintilla:
1) StyleSetForeground is not working correctly?
2) How to change font color?
And i have couple questions about Scintilla:
1) StyleSetForeground is not working correctly?
Code: Select all
editor->StyleSetForeground(wxSTC_STYLE_DEFAULT, *wxRED);
- Fri Jan 11, 2008 9:52 am
- Forum: Compiler / Linking / IDE Related
- Topic: SIGSEGV while debugging and using wxFileDialog
- Replies: 10
- Views: 4927
I guess it's GDB problem
I have the same problem (exception with file open dialog): 1) Show FileOpenDialog and press on "My computer" All other way\path works fine And release\debug version works fine too!!! It's happens only in debuging mode I found such problem here: http://www.cygwin.com/ml/cygwin/2005-04/msg00...
- Mon Dec 17, 2007 12:57 pm
- Forum: C++ Development
- Topic: wxTreeCtrl + width + wxTreeBook
- Replies: 1
- Views: 1463