Search found 14 matches

by valiyuneski
Thu Dec 26, 2013 7:28 pm
Forum: Component Writing
Topic: HtmlWindow FindWord ...
Replies: 0
Views: 1673

HtmlWindow FindWord ...

Hi All, I am trying to write an JSON editor which one one side of the splitter displays the JSON file parsed in tree, and on the other side of the splitter the JSON file in an HtmlWindow. As the mouse over the HTMLWindow moves the cells are identified and the tree scrolls to the correct item. Howeve...
by valiyuneski
Mon Aug 10, 2009 2:21 pm
Forum: Component Writing
Topic: Has anyone still have Avatar Skin - Skinnable GUI Toolkit ?
Replies: 1
Views: 1234

Has anyone still have Avatar Skin - Skinnable GUI Toolkit ?

Has anyone still have Avatar Skin - Skinnable GUI Toolkit ?
by valiyuneski
Wed Jul 15, 2009 4:21 pm
Forum: Component Writing
Topic: wxscrolledwindow override the wxScrollBar
Replies: 0
Views: 839

wxscrolledwindow override the wxScrollBar

Is there a way to override the wxScrollBar inside the wxScrolledWindow and make it skinnable ?
by valiyuneski
Mon Jun 08, 2009 9:13 am
Forum: Component Writing
Topic: OwnerDrawn wxScrolledWindow
Replies: 0
Views: 790

OwnerDrawn wxScrolledWindow

Hi i was wondering if there is an ownerdrawn wxScrolledWindow sample around that redraws the scroll (Skinnable).
In other words, getScrollBar() and redraw it as one could wish.
by valiyuneski
Fri May 15, 2009 7:53 am
Forum: C++ Development
Topic: wxShapeFramework: creating new shape
Replies: 3
Views: 916

void SomeApp::ReShape(bool bMultipleRegion, int iSize) { m_bMultipleRegion = bMultipleRegion; //CleanUp CleanUp(); if(m_bMultipleRegion) { // Create Frame Bitmap wxImage pImageLeft = wxMEMORY_IMAGEEX(main_left, wxBITMAP_TYPE_PNG); pImageLeft.InitAlpha(); pImageLeft.ConvertAlphaToMask(); m_pFrameBit...
by valiyuneski
Thu Jan 15, 2009 9:26 pm
Forum: C++ Development
Topic: wxSizers pointers create memory leaks in VS2008
Replies: 4
Views: 793

I use wxFormBuilder to create the dialog: xx.h wxBoxSizer* m_pWholeSizer; xx.cpp Create() { m_pWholeSizer = new wxBoxSizer(wxVERTICAL); SetSizer(m_pWholeSizer); } Delete() { if(m_pWholeSizer) { delete m_pWholeSizer; m_pWholeSizer = NULL; } } and that delete is called in destructor, if i do not perfo...
by valiyuneski
Thu Jan 15, 2009 4:20 pm
Forum: C++ Development
Topic: wxSizers pointers create memory leaks in VS2008
Replies: 4
Views: 793

wxSizers pointers create memory leaks in VS2008

After creating a sizer, allocating it and not deleting it,
memory leaks remain in VisualStudio 2008.
Trying to delete them fails to close the window in which they were created.

Any ideas how to release otherwise the memory ??
by valiyuneski
Sun Jan 04, 2009 1:13 pm
Forum: C++ Development
Topic: wxStringHashTable
Replies: 1
Views: 418

wxStringHashTable

I am trying to use wxStringHashTable, i include #include <wx/hash.h> class xxx { public: xxx(); virtual ~xxx(); protected: wxStringHashTable* m_pHashTable; }; and i get this error ISO C++ forbids declaration of ‘wxStringHashTable’ with no type expected ‘;’ before ‘*’ token Any ideas why is that ???
by valiyuneski
Sat Dec 27, 2008 11:55 am
Forum: C++ Development
Topic: wxConfigBase where is the file location in UBUNTU
Replies: 1
Views: 508

wxConfigBase where is the file location in UBUNTU

wxConfigBase stores its data in some file in ubuntu, where is this file located ?
by valiyuneski
Tue Dec 16, 2008 9:54 am
Forum: C++ Development
Topic: wxThread how to implement multiple wait
Replies: 1
Views: 478

Sorry for the error

Code: Select all

void* Entry()
{
while(DWORD dwWait = ::WaitForSingleMultipleObjects(...))
{
case(xxx):
DoSomething();
brake;
case(yyy):
DoSomethingElse();
break;
case(Exit):
ExitThread();
break;
default:
break;
}
}
EDIT by Auria : Please use code tags
by valiyuneski
Tue Dec 16, 2008 9:51 am
Forum: C++ Development
Topic: wxThread how to implement multiple wait
Replies: 1
Views: 478

wxThread how to implement multiple wait

Has anybody implemented yet a wxThread with multiple wait of the following form : void* Entry() { while(::WaitForSingleObject(GetEvent(), INFINITE) == WAIT_OBJECT_0) { case(xxx): DoSomething(); brake; case(yyy): DoSomethingElse(); break; case(Exit): ExitThread(); break; default: break; } }
by valiyuneski
Sun Dec 14, 2008 2:27 pm
Forum: C++ Development
Topic: WaitForMultpleObjects
Replies: 1
Views: 476

WaitForMultpleObjects

Hi Guys,

I am trying to move my app to wxWidgets, and i need to know if there is a way to signal the thread with multiple CEvents,
WaitForMultipleObjects ???

Or maybe something which might be equivalent to it ...
by valiyuneski
Thu Dec 11, 2008 8:08 pm
Forum: C++ Development
Topic: wxEventPost problem
Replies: 3
Views: 855

This is the Window Message Mapping 1. Message Map + Custom Event BEGIN_DECLARE_EVENT_TYPES() DECLARE_LOCAL_EVENT_TYPE(wxEVT_THREAD, wxNewEventType()) END_DECLARE_EVENT_TYPES() DEFINE_LOCAL_EVENT_TYPE(wxEVT_THREAD) 2.Binding the custom message to be caught when a message is posted void wxVUMeterWnd::...
by valiyuneski
Thu Dec 11, 2008 3:09 pm
Forum: C++ Development
Topic: wxEventPost problem
Replies: 3
Views: 855

wxEventPost problem

Hi i have a wxWindow which creates a thread, from within the thread i need to post a message to owner of this thread which is a GUI but for some reason the wxWindow message PUMP does not call the mapped function: 1. wxWindow.cpp defines the new custom event with which is going to be called BEGIN_DEC...