Login | Register   
RSS Feed
Download our iPhone app
Browse DevX
Sign up for e-mail newsletters from DevX

By submitting your information, you agree that devx.com may send you DevX offers via email, phone and text message, as well as email offers about other products and services that DevX believes may be of interest to you. DevX will process your information in accordance with the Quinstreet Privacy Policy.

Tip of the Day
Language: Visual Basic
Expertise: Beginner
Oct 1, 1996



Building the Right Environment to Support AI, Machine Learning and Deep Learning

Definition of hDlg

I want to make a list-combo visible but, I can't get using API function : SendDlgItemMessage.What is "hDlg" in the following declaration?
Declare function SendDlgItemMessage Lib "User" (Byval hDlg as Integer, Byval nIDDlgItem As Integer, ByVal wParam as integer, lParam as Any) as Long

Typically, the parameters beginning with an "h" are handles. Try giving it the hWnd of your window/form. I'd save my project before I did it, though. Playing with this stuff can get very dangerous. I would imagine that hDlg means "handle to the dialog". You can also check the Win 3.1 SDK help file included with VB3, if you're using version 3. If you've got the list-combo on your form and just want to make it visible you don't really need an API call, simply set it's visible property to True in your code:

Combo1.Visible = True
DevX Pro
Comment and Contribute






(Maximum characters: 1200). You have 1200 characters left.



Thanks for your registration, follow us on our social networks to keep up-to-date