Search found 38 matches

by wangbo_coldwind
Wed Mar 15, 2006 6:37 am
Forum: C++ Development
Topic: Set Mouse Position
Replies: 4
Views: 2169

Can WrapPoint move the mouse in the screen, What I wanted is not just move, but drag. and not in the program itself, but on another program. For example, I want my program can click start->program->... in windows like i do it by myself.
by wangbo_coldwind
Wed Mar 15, 2006 2:31 am
Forum: C++ Development
Topic: Set Mouse Position
Replies: 4
Views: 2169

Set Mouse Position

Hi,I see there is a wxGetMousePosition function to get the mouse's position,Is there a wxSetMousePosition to move the mouse to the appointed position?

Thanks
by wangbo_coldwind
Thu Jan 12, 2006 4:20 am
Forum: C++ Development
Topic: wxSocket Event problem
Replies: 2
Views: 800

If I use socket->Connect(server,true), Can I receive the Socket_LOSt event if connect failed??
by wangbo_coldwind
Wed Jan 11, 2006 9:34 am
Forum: C++ Development
Topic: wxSocket Event problem
Replies: 2
Views: 800

wxSocket Event problem

Does anybody know when wxSocket_LOST event be generated? I used this code: M_socket->Connect(server,false); M_socket->WaitOnConnect(100,10); Then I always get the lost event while the socket is really open, I can read and write information to that socket. By the way, I used a other thread to create ...
by wangbo_coldwind
Tue Dec 13, 2005 8:06 am
Forum: C++ Development
Topic: Add a bitmap to a menuItem
Replies: 4
Views: 1055

Thanks ,I found the problem, I use another bitmap,it works, but it 's strange that the copy_xpm can be reviewed very well by other viewers, I don't know why wx think the format is not correct.
by wangbo_coldwind
Mon Dec 12, 2005 7:27 am
Forum: C++ Development
Topic: Add a bitmap to a menuItem
Replies: 4
Views: 1055

Add a bitmap to a menuItem

Hi, In the samples/menu, I just add three lines of codes to add a bitmap to a subjob,(I add these codes after line 28: wxMenu* subMenu = new wxMenu;) just like: wxMenuItem *item12 = new wxMenuItem(subMenu,-1,"Test"); item12->SetBitmaps(copy_xpm,wxNullBitmap); subMenu->Append(item12); But everytime, ...
by wangbo_coldwind
Thu Aug 04, 2005 8:33 am
Forum: C++ Development
Topic: update on grid
Replies: 3
Views: 1130

I use 2.4, It works very well in all the grid except the last grid, that means the last col and last row.
I write a MyTable inherit from wxGrid, when click a grid,popup a menu,which will set the selected grid color.
by wangbo_coldwind
Wed Aug 03, 2005 2:32 am
Forum: C++ Development
Topic: update on grid
Replies: 3
Views: 1130

update on grid

Hi,
When I set the background for wxGrid, it will always not update it before I click it. even I use ForceRefresh.Do you know why??

MyTable...

SetCellBackgroundColour(row,col,*wxRED);
ForceRefresh();

Thanks in advance!!
by wangbo_coldwind
Wed Aug 03, 2005 12:51 am
Forum: C++ Development
Topic: Loss of Focus on Dialog
Replies: 5
Views: 1052

Have you set the parent of the processDialog? default is NULL.
by wangbo_coldwind
Tue Aug 02, 2005 2:03 am
Forum: C++ Development
Topic: wx design document
Replies: 2
Views: 625

wx design document

Hi,
Is there some design document for wxWindows, I want to learn the codes of wx, but I don't to how to begin.

Thanks
by wangbo_coldwind
Mon Aug 01, 2005 1:02 am
Forum: C++ Development
Topic: Another problem of wxHelpController
Replies: 3
Views: 1076

Hi,Can anybody help me??
In order to reproduce this problem,you can use any problem in the samples,and use any .hlp files.

Thanks
by wangbo_coldwind
Fri Jul 29, 2005 5:07 am
Forum: C++ Development
Topic: technique to resize the Child Panels ?
Replies: 4
Views: 1211

Maybe you can try wxFlexGridSizer::AddGrowableCol/Row
by wangbo_coldwind
Fri Jul 29, 2005 3:27 am
Forum: C++ Development
Topic: Another problem of wxHelpController
Replies: 3
Views: 1076

Another problem of wxHelpController

Hi, I write some codes like these: void A::OnAbout(wxCommandEvent &evt) { wxHelpController help; help.Initialize(_T("doc.hlp")); help.DisplayContents(); } It work very well in wx2.4,but can't work in 2.6, and pop up nothing in 2.6, Why, and I'm sure I put the file to the right location. Thanks in ad...
by wangbo_coldwind
Thu Jul 28, 2005 8:18 am
Forum: C++ Development
Topic: wxHelpController problem
Replies: 2
Views: 707

thanks very much, it really works, but why can't I put the m_help outside,in wx2.4.2,it works very will, while in 2.6,it can't work

Thanks again.
by wangbo_coldwind
Thu Jul 28, 2005 7:25 am
Forum: C++ Development
Topic: Sash problem
Replies: 1
Views: 713

Sash problem

Can someone give me some demo of using wxSashWindow or some pieces of codes, I really don't know how to use them even after I read the manual , and in samples ,there is only a wxSashLayoutWindow, no sashWindow.

Thanks in advance!