Loading ...
Sorry, an error occurred while loading the content.

855RE: [cc2-dev-l] How do you open a text window?

Expand Messages
  • L. Lee Saunders
    Sep 7, 2010
    • 0 Attachment
      Wow!  Thanks.

      L. Lee Saunders
      "It was only a partial solution, of course, as solutions usually are, and addressed only one specific problem, as solutions usually do. But, as was often also true, it opened the door—if only a crack—for the multitude of solutions to follow." 
      1632 - Eric Flint
      my blog: http://oldschooldotnet.blogspot.com
      Taking Dot Net "Old School" - Playing with old ideas/concepts using the newest tools!


      To: cc2-dev-l@yahoogroups.com
      From: peter@...
      Date: Tue, 7 Sep 2010 08:34:07 +0200
      Subject: RE: [cc2-dev-l] How do you open a text window?


      Try this code:


      void _stdcall TextWin(void);

      void _stdcall TWRcvInit(void);

      void _stdcall TWRcvEnd(void);


      static void XPCALL EnumerateText(void)


        int iNum=5;


        FORMSTPKT(lpszLine, "User message: !01\r\n", 1)

          {(DWORD *)&iNum, FT_UDec4, FJ_Var, 0, 0},





        FormSt(&lpszLine, RSC(FD_TxWin));



        __asm clc;




      void XPCALL TestCmd(void)


        TXWIN TxWin={sizeof(TXWIN), (DWORD)NULL, (DWORD)"Sample report", TWF_Single,

          (DWORD)EnumerateText, (float).1, (float).3, (float).95, (float).9, 0,0,1,0,0,0,1};


        DWORD TxAdr=(DWORD)&TxWin;


        __asm mov esi, TxAdr;





      From: cc2-dev-l@yahoogroups.com [mailto:cc2-dev-l@yahoogroups.com] On Behalf Of Larry
      Sent: Friday, September 03, 2010 4:32 PM
      To: cc2-dev-l@yahoogroups.com
      Subject: [cc2-dev-l] How do you open a text window?



      Many commands (LIST, NOTES, etc) open a new child window to display the text.

      Is there any commands built into the toolkit that I can use to reproduce this capability?

      I've scanned through the files and I cannot find the command(s) on my own, so any help would be appreciated.


    • Show all 3 messages in this topic