Click here to Skip to main content
15,886,026 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Move to Windows 10 on HP messes up display Pin
Dave Kreskowiak17-Oct-19 13:12
mveDave Kreskowiak17-Oct-19 13:12 
AnswerRe: Move to Windows 10 on HP messes up display Pin
Todd (10789346)18-Oct-19 7:31
Todd (10789346)18-Oct-19 7:31 
PraiseBuffer Not Retreive English language Pin
Member 118036078-Oct-19 4:37
Member 118036078-Oct-19 4:37 
AnswerRe: Buffer Not Retreive English language Pin
Richard MacCutchan8-Oct-19 5:18
mveRichard MacCutchan8-Oct-19 5:18 
GeneralRe: Buffer Not Retreive English language Pin
Member 118036078-Oct-19 5:28
Member 118036078-Oct-19 5:28 
GeneralRe: Buffer Not Retreive English language Pin
Richard MacCutchan8-Oct-19 6:16
mveRichard MacCutchan8-Oct-19 6:16 
GeneralRe: Buffer Not Retreive English language Pin
Member 118036078-Oct-19 7:12
Member 118036078-Oct-19 7:12 
GeneralRe: Buffer Not Retreive English language Pin
Richard MacCutchan8-Oct-19 7:56
mveRichard MacCutchan8-Oct-19 7:56 
The result of LB_GETTEXTLEN is :
Quote:
The return value is the length of the string, in TCHARs, excluding the terminating null character.
So you need to allocate a buffer at least this length plus 1. The LB_GETTEXT message will fill the buffer with the text of the control, followed by a NULL character (hence the +1 in the previous part).

The EM_SETCUEBANNER message also needs to be sent with SendMessageW. In fact you should use the W suffix on all Win32 calls, as all your text will be Unicode. Unless, of course, you add some text manipulation to make it ASCII.
QuestionToolTip Does not display(WIN32-API) Pin
Member 118036077-Oct-19 4:51
Member 118036077-Oct-19 4:51 
Questionassing arguments in vb6.0 ? Pin
Member 24584676-Oct-19 23:55
Member 24584676-Oct-19 23:55 
AnswerRe: assing arguments in vb6.0 ? Pin
Mycroft Holmes7-Oct-19 12:40
professionalMycroft Holmes7-Oct-19 12:40 
QuestionCreate Button(win32) But Not Receive Message Pin
Member 118036076-Oct-19 4:31
Member 118036076-Oct-19 4:31 
AnswerRe: Create Button(win32) But Not Receive Message Pin
Dave Kreskowiak6-Oct-19 5:04
mveDave Kreskowiak6-Oct-19 5:04 
GeneralRe: Create Button(win32) But Not Receive Message Pin
Member 118036076-Oct-19 5:25
Member 118036076-Oct-19 5:25 
GeneralRe: Create Button(win32) But Not Receive Message Pin
Richard MacCutchan6-Oct-19 5:53
mveRichard MacCutchan6-Oct-19 5:53 
GeneralRe: Create Button(win32) But Not Receive Message Pin
Member 118036076-Oct-19 5:59
Member 118036076-Oct-19 5:59 
GeneralRe: Create Button(win32) But Not Receive Message Pin
Richard MacCutchan6-Oct-19 6:11
mveRichard MacCutchan6-Oct-19 6:11 
GeneralRe: Create Button(win32) But Not Receive Message Pin
Member 118036076-Oct-19 6:40
Member 118036076-Oct-19 6:40 
GeneralRe: Create Button(win32) But Not Receive Message Pin
Richard MacCutchan6-Oct-19 7:14
mveRichard MacCutchan6-Oct-19 7:14 
GeneralRe: Create Button(win32) But Not Receive Message Pin
Member 118036076-Oct-19 10:08
Member 118036076-Oct-19 10:08 
GeneralRe: Create Button(win32) But Not Receive Message Pin
Member 118036076-Oct-19 21:48
Member 118036076-Oct-19 21:48 
QuestionVisual Studio SSDT gives error on start up Pin
bhrigwish4-Oct-19 22:11
bhrigwish4-Oct-19 22:11 
AnswerRe: Visual Studio SSDT gives error on start up Pin
Eddy Vluggen5-Oct-19 2:25
professionalEddy Vluggen5-Oct-19 2:25 
QuestionSoftware and hardware integration Pin
Otekpo Emmanuel26-Sep-19 1:28
Otekpo Emmanuel26-Sep-19 1:28 
AnswerRe: Software and hardware integration Pin
Mycroft Holmes26-Sep-19 12:27
professionalMycroft Holmes26-Sep-19 12:27 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.