Click here to Skip to main content
15,888,283 members
Home / Discussions / Visual Basic
   

Visual Basic

 
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 
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 
Subclass The InputBox ( Not Create Window ) And Create Button

hwndBtn=CreateWindowEx(0,"Button","",WS_CHILD Or WS_VISIBLE,300,60,49,26,hwnd,IDC_BTN3,0,0)

So Created In Window But Not Recieve Any Message Example Not Get Focus

i used follwing document also

WS_TABSTOP0x00010000L : The window is a control that can receive the keyboard focus when the user presses the TAB key.

InputBox Have 2 Buttons , 1 Static And 1 Edit Control

i Created another button inside it behind the button(cancel)

My Friends I ve created button !!!!
see third case

Select Case WM_COMMAND
Case 1 ' IDOK
SetWindowTexta hwnd,"ok"
Case 2 ' IDCANCEL
SetWindowTexta hwnd,"Cancel"
Case IDC_BTN3 ' <--- Does Not Work
SetWindowTexta hwnd,"New BTN"
End Select

***Note :
when hook and subclass the inputbox I did not recieve WM_INITDIALOG so that i can Put the createButton Code finally put the code in WM_SHOWWINDOW to create it

modified 6-Oct-19 12:08pm.

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 
GeneralRe: Software and hardware integration Pin
Otekpo Emmanuel26-Sep-19 13:38
Otekpo Emmanuel26-Sep-19 13:38 

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.