Search found 41 matches

by Jophin
Wed Jun 13, 2012 3:04 am
Forum: C++ Development
Topic: Title Bar Update
Replies: 1
Views: 1091

Re: Title Bar Update

If you are using wxAuiNotebook Class , then check out this untested code , int PageIndex = Notebook->GetSelection; // Get current selected page wxString Title = Notebook->GetPageText (PageIndex); //Get page title Title += " *" ; // Append * with page title Notebook->SetPageText (PageIndex,...
by Jophin
Tue Jan 10, 2012 6:04 pm
Forum: Compiler / Linking / IDE Related
Topic: Getting error on compiling wxWidgets-2.9.3
Replies: 4
Views: 3471

Re: Getting error on compiling wxWidgets-2.9.3

The symbols are defined in "pbt.h" and "winuser.h" headers on my MinGW GCC installation. Tim S. Thanks Tim, for providing the path of "pbt.h" header file. The below include statement is missing in window.cpp of wxWidgets-2.9.3; #if !defined __WXWINCE__ && !defi...
by Jophin
Tue Jan 10, 2012 3:27 am
Forum: Compiler / Linking / IDE Related
Topic: Getting error on compiling wxWidgets-2.9.3
Replies: 4
Views: 3471

Getting error on compiling wxWidgets-2.9.3

Dear All, When compiling wxWidgets-2.9.3 using "mingw32-make -f makefile.gcc MONOLITHIC=0 SHARED=0 BUILD=release UNICODE=1" , I am getting following error. I can however compile wxWidgets-2.9.2 library without any glitch. Please help! What am I missing? Where are PBT_ symbols declared ? OS...
by Jophin
Sun Oct 16, 2011 6:35 am
Forum: wxDev-C++
Topic: DevPak 2.8
Replies: 2
Views: 2669

Re: DevPak 2.8

1) Download wxDev-C++ from http://wxdsgn.sourceforge.net/ Single pack setup for windows ; has IDE/RAD tool , compilers ,debugger and wxWidgets ( version 2.8.12 ) 2) Under wxWidgets ( version 2.8.12 ) , do not forget to Initializes all available image handlers by using wxInitAllImageHandlers in that ...
by Jophin
Thu Sep 23, 2010 1:47 am
Forum: wxDev-C++
Topic: Project inspector - Where is it ? Please help !
Replies: 4
Views: 2968

1. Close the wxDev-C++ designer
2. Rename ini file present in your login profile in the following path ( "Application Data" is a hidden folder )

"C:\Documents and Settings\Your_Login_Profile\Application Data\Dev-Cpp\layout.ini"

3. Restart designer and check
by Jophin
Thu Sep 23, 2010 1:46 am
Forum: wxDev-C++
Topic: No project manager
Replies: 2
Views: 1436

1. Close the wxDev-C++ designer
2. Rename ini file present in your login profile in the following path ( "Application Data" is a hidden folder )

"C:\Documents and Settings\Your_Login_Profile\Application Data\Dev-Cpp\layout.ini"

3. Restart designer and check
by Jophin
Thu Sep 16, 2010 3:17 pm
Forum: wxDev-C++
Topic: Respond to another click...
Replies: 1
Views: 1146

Find a simple example...... void MyProgram::WxButtonActionClick(wxCommandEvent& event) { static bool State=0; //initially waiting for recording. const char* Label[]={"Record","Stop Record"}; if(State) { // code for stopping the recording goes here .... } else { // code for st...
by Jophin
Tue Nov 17, 2009 3:01 am
Forum: General Development
Topic: Help needed for downloading wxWidgets API...
Replies: 3
Views: 1537

wxWidgets 2.9.0 API in *.chm (wxWidgets-2.9.0-chm.zip) and *.html ( wxWidgets-2.9.0-HTML.zip ) format ; download from http://biolpc22.york.ac.uk/pub/2.9.0/
by Jophin
Fri Nov 13, 2009 3:18 am
Forum: C++ Development
Topic: Disconnect all event handlers defined with Connect
Replies: 2
Views: 1259

Additionally , if you require to disconnect from , other than destructor class routine ; you can use wxEvtHandler::Disconnect

Note : There are overload for this routine.
by Jophin
Fri Nov 13, 2009 3:03 am
Forum: General Development
Topic: painting transprency
Replies: 2
Views: 1028

Alternate concept ( not related to painting transprency ), is to build such appliation is using wxFrame with wxSTAY_ON_TOP | wxFRAME_SHAPED style

A standard example can be found in examples\wxWidgets\shaped.
by Jophin
Fri Nov 13, 2009 2:47 am
Forum: C++ Development
Topic: Mysql for wxWidgets?
Replies: 16
Views: 5782

Another alternative , if you are working on wxDevC++ ; then just download and install devpack for mysql mysqlpp-2.3.2-gcc3.4.2-1due.DevPak from http://devpaks.org/details.php?devpak=191 and start working.
by Jophin
Tue Oct 20, 2009 3:27 am
Forum: C++ Development
Topic: Style flags issue
Replies: 4
Views: 1407

Consider this #define wxVALUE1 0x01 // == binary 000000001 #define wxVALUE2 0x02 // == binary 000000010 #define wxVALUE3 0x04 // == binary 000000100 #define wxVALUE4 0x08 // == binary 000001000 Related to your EXAMPLE1 long myflags = wxVALUE4 ; if ( myflags & wxVALUE1) // 000001000 & 0000000...
by Jophin
Sat Oct 17, 2009 3:04 am
Forum: C++ Development
Topic: Is there a method to detect for zip compression?
Replies: 5
Views: 1410

For endianess or byte-order , Probably Yes! it should be taken in account.

For example if you compare signature for TIFF file in http://www.garykessler.net/library/file_sigs.html you will see '0x49,0x49' for Intel, or little endian and 0x4D,0x4D for Motorola, or big endian.
by Jophin
Sat Oct 17, 2009 2:12 am
Forum: C++ Development
Topic: Is there a method to detect for zip compression?
Replies: 5
Views: 1410

Found a site containing all the files signature bytes http://www.garykessler.net/library/file_sigs.html

Hope this will help you...... :lol:

For error flag's I presume all files depends upon their CRC check.

"Happy Diwali To EveryOne"
by Jophin
Fri Oct 16, 2009 3:24 am
Forum: C++ Development
Topic: Is there a method to detect for zip compression?
Replies: 5
Views: 1410

The first two bytes of zip file has characters ' PK ' ( i.e. 0x50 , 0x4B ) ; as this format was originally created in 1986 by Phil Katz for PKZIP Use the two signature bytes to detect zip compressed files. Just for knowledge wiki comparison of file archivers @ http://en.wikipedia.org/wiki/List_of_fi...