Updated: 11/5/2005; 6:01:33 PM.
Chris Double's Radio Weblog
        

Tuesday, March 05, 2002

BitWorking: "The third installment in the Language series has just been posted."

A great series of articles there. Well worth reading. Looking forward to the next installments. I believe strongly in using embedded 'scripting' languages in products as well.

Emacs has Emacs Lisp, Autocad has Lisp, Microsoft has VBA, etc. They all make the products far more usable for power users. These power users can then provide tools for more casual users. Everybody wins.


10:19:43 AM      

markpasc.blog: "And how is one supposed to read from an edit box in a non-MFC C++ program, eh? Guh."

Reading from an edit box without using MFC is done by sending it a message. If the editbox HWND is stored in hWnd, the code below does it:

long len = SendMessage(hWnd, WM_GETTEXTLENGTH, 0, 0); 
char* buffer = malloc(len); 
SendMessage(hWnd, WM_GETTEXT, len, buffer); 

I believe this will only work if the length is less than 32K though.


10:14:26 AM      

© Copyright 2005 Chris Double.
 
March 2002
Sun Mon Tue Wed Thu Fri Sat
          1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30
31            
Feb   Apr



Click here to visit the Radio UserLand website.

Listed on BlogShares

Click to see the XML version of this web page.

Click here to send an email to the editor of this weblog.