PlanetSquires Forums

Support Forums => Other Software and Code => Topic started by: Patrice Terrier on February 11, 2010, 04:40:10 AM

Title: FF 3.07
Post by: Patrice Terrier on February 11, 2010, 04:40:10 AM
- The help about blue screen, still shows version 3.06
- GetClassInfoEx() requires the cbSize field to be set before the call.
- Controls being used as page TAB container, should all use the same window class, for example "TAB_PAGE" or "#32770".
Title: Re: FF 3.07
Post by: Paul Squires on February 11, 2010, 08:28:16 AM
Hi Patrice,

Right you are. Looks like I included the incorrect exe. Please re-download and try again. The setup exe file date should be 2010-02-11.

The following key files in the distribution should all have dates of 2010-02-10.

FireFly3.exe   2010-02-10
General.dll   2010-02-10
JellyEdit.dll   2010-02-10
FireFly3.chm   2010-02-10

I will post a message in the download topic regarding this.

(I have not changed the TAB container window class to a common class yet. I will look at that for the next update).
Title: Re: FF 3.07
Post by: Patrice Terrier on February 11, 2010, 09:14:11 AM
GetClassInfoEx() still requires the cbSize field to be set before the call  ;)
Title: Re: FF 3.07
Post by: Paul Squires on February 11, 2010, 09:29:20 AM
I just pulled the following from one of my codegen files:


    'Determine if the Class already exists. If it does not, then create the class.
   
    szClassName       = "FORM_LANGEDIT_FRMMAIN_CLASS"
   
    wce.cbSize        = SizeOf(wce)

    IsInitialized = GetClassInfoEx( App.hInstance, szClassName, wce )

    If IsInitialized = 0 Then
        wce.cbSize        = SizeOf(wce)
        wce.STYLE         = %CS_VREDRAW Or %CS_HREDRAW Or %CS_DBLCLKS
        wce.lpfnWndProc   = CodePtr( FRMMAIN_FORMPROCEDURE )
        wce.cbClsExtra    = 0
        wce.cbWndExtra    = 0
        wce.hInstance     = App.hInstance
        wce.hIcon         = LoadIcon( App.hInstance, ByVal %IDI_APPLICATION )
        wce.hCursor       = LoadCursor( %Null, ByVal %IDC_ARROW )
        wce.hbrBackground = %COLOR_BTNFACE + 1
        wce.lpszMenuName  = %Null
        wce.lpszClassName = VarPtr( szClassName )
        wce.hIconSm       = LoadIcon( App.hInstance, ByVal %IDI_APPLICATION )
   
        If RegisterClassEx(wce) Then IsInitialized = %TRUE         
    End If 


You are not seeing something similar?

Maybe I have something totally screwed up with my build process. I will double check later when I get home.