Mercurial > dwindows
comparison win/dw.c @ 1519:514b061ac8b2
Add SS_NOTIFY style to the text control on Windows to get tooltips working.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Thu, 29 Dec 2011 18:50:39 +0000 |
parents | bd538277e1e8 |
children | 9834570c8761 |
comparison
equal
deleted
inserted
replaced
1518:bd538277e1e8 | 1519:514b061ac8b2 |
---|---|
5457 */ | 5457 */ |
5458 HWND API dw_text_new(char *text, ULONG id) | 5458 HWND API dw_text_new(char *text, ULONG id) |
5459 { | 5459 { |
5460 HWND tmp = CreateWindow(STATICCLASSNAME, | 5460 HWND tmp = CreateWindow(STATICCLASSNAME, |
5461 text, | 5461 text, |
5462 SS_NOPREFIX | | 5462 SS_NOPREFIX | SS_NOTIFY | |
5463 BS_TEXT | WS_VISIBLE | | 5463 BS_TEXT | WS_VISIBLE | |
5464 WS_CHILD | WS_CLIPCHILDREN, | 5464 WS_CHILD | WS_CLIPCHILDREN, |
5465 0,0,0,0, | 5465 0,0,0,0, |
5466 DW_HWND_OBJECT, | 5466 DW_HWND_OBJECT, |
5467 (HMENU)id, | 5467 (HMENU)id, |