Click here to Skip to main content
14,326,246 members

Visual Basic

 
PinnedHOW TO ANSWER A QUESTION PinPopular
Chris Maunder12-Jul-09 22:40
adminChris Maunder12-Jul-09 22:40 
PinnedHow to get an answer to your question PinPopular
Chris Maunder10-Nov-05 16:30
adminChris Maunder10-Nov-05 16:30 
Questionhow i create a video conference program Pin
Member 1462143013-Oct-19 8:09
memberMember 1462143013-Oct-19 8:09 
AnswerRe: how i create a video conference program Pin
Dave Kreskowiak13-Oct-19 16:05
mveDave Kreskowiak13-Oct-19 16:05 
QuestionStepper Motor control code Pin
Member 1462018511-Oct-19 12:10
memberMember 1462018511-Oct-19 12:10 
AnswerRe: Stepper Motor control code Pin
Eddy Vluggen11-Oct-19 12:44
mveEddy Vluggen11-Oct-19 12:44 
QuestionMove to Windows 10 on HP messes up display Pin
Todd (10789346)9-Oct-19 4:30
memberTodd (10789346)9-Oct-19 4:30 
AnswerRe: Move to Windows 10 on HP messes up display Pin
Gerry Schmitz9-Oct-19 9:18
mveGerry Schmitz9-Oct-19 9:18 
AnswerRe: Move to Windows 10 on HP messes up display Pin
jkirkerx10-Oct-19 14:11
professionaljkirkerx10-Oct-19 14:11 
PraiseBuffer Not Retreive English language Pin
Member 118036078-Oct-19 4:37
memberMember 118036078-Oct-19 4:37 
AnswerRe: Buffer Not Retreive English language Pin
Richard MacCutchan8-Oct-19 5:18
protectorRichard MacCutchan8-Oct-19 5:18 
GeneralRe: Buffer Not Retreive English language Pin
Member 118036078-Oct-19 5:28
memberMember 118036078-Oct-19 5:28 
GeneralRe: Buffer Not Retreive English language Pin
Richard MacCutchan8-Oct-19 6:16
protectorRichard MacCutchan8-Oct-19 6:16 
GeneralRe: Buffer Not Retreive English language Pin
Member 118036078-Oct-19 7:12
memberMember 118036078-Oct-19 7:12 
GeneralRe: Buffer Not Retreive English language Pin
Richard MacCutchan8-Oct-19 7:56
protectorRichard MacCutchan8-Oct-19 7:56 
QuestionToolTip Does not display(WIN32-API) Pin
Member 118036077-Oct-19 4:51
memberMember 118036077-Oct-19 4:51 
Questionassing arguments in vb6.0 ? Pin
Member 24584676-Oct-19 23:55
memberMember 24584676-Oct-19 23:55 
AnswerRe: assing arguments in vb6.0 ? Pin
Mycroft Holmes7-Oct-19 12:40
memberMycroft Holmes7-Oct-19 12:40 
QuestionCreate Button(win32) But Not Receive Message Pin
Member 118036076-Oct-19 4:31
memberMember 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
memberMember 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
protectorRichard MacCutchan6-Oct-19 5:53 
GeneralRe: Create Button(win32) But Not Receive Message Pin
Member 118036076-Oct-19 5:59
memberMember 118036076-Oct-19 5:59 
GeneralRe: Create Button(win32) But Not Receive Message Pin
Richard MacCutchan6-Oct-19 6:11
protectorRichard MacCutchan6-Oct-19 6:11 
GeneralRe: Create Button(win32) But Not Receive Message Pin
Member 118036076-Oct-19 6:40
memberMember 118036076-Oct-19 6:40 

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.