Thread View: comp.windows.ms.programmer
2 messages
2 total messages
Started by Tudre
Mon, 08 Apr 1996 06:27
Help needed using predefined "edit" window class
Author: Tudre
Date: Mon, 08 Apr 1996 06:27
Date: Mon, 08 Apr 1996 06:27
9 lines
726 bytes
726 bytes
Is there a possibility to use Windows predefined "edit" window class with OEM (IBM extended) character set? I must use some line-drawing characters in edit window. I would be very grateful for the answer. --- Mart Tudre tudre@forex.ee
Re: Help needed using predefined "edit" window class
Author: Chris Marriott
Date: Mon, 08 Apr 1996 10:01
Date: Mon, 08 Apr 1996 10:01
18 lines
1467 bytes
1467 bytes
In article <4kabk1$94p@horos.kbfi.ee>, Tudre <tudre@forex.ee> writes
>Is there a possibility to use Windows predefined "edit" window
>class with OEM (IBM extended) character set? I must use some
>line-drawing characters in edit window.
Certainly. Just say:
HFONT hOEMFont = (HFONT) GetStockObject( OEM_FIXED_FONT );
SendMessage( hEdit, WM_SETFONT, (WPARAM)hOEMFont, 0 );
Chris
--------------------------------------------------------------------------
Chris Marriott, Warrington, UK | Author of SkyMap v3 award-winning
chris@chrism.demon.co.uk | shareware Win31/Win95 planetarium.
For full info, see http://www.execpc.com/~skymap
Author member of Association of Shareware Professionals (ASP)
--------------------------------------------------------------------------
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads