Welcome to Dream.In.Code
Getting C++ Help is Easy!

Join 136,111 C++ Programmers for FREE! Get instant access to thousands of C++ experts, tutorials, code snippets, and more! There are 1,727 people online right now. Registration is fast and FREE... Join Now!




min/max buttons in MdI form

 
Reply to this topicStart new topic

min/max buttons in MdI form

adityat
11 Apr, 2007 - 09:03 AM
Post #1

New D.I.C Head
*

Joined: 28 Mar, 2007
Posts: 2


My Contributions
CODE

Sub MDIForm_Load()
Dim lWnd as Long
lWnd = GetWindowLong(Me.hWnd, GWL_STYLE)
lWnd = lWnd And Not (WS_MINIMIZEBOX)
lWnd = lWnd And Not (WS_MAXIMIZEBOX)
lWnd = SetWindowLong(Me.hWnd, GWL_STYLE, lWnd)
End Sub


i need the coding in VC++ for the above coding .idont know what iwnd stands for.so please help me.
User is offlineProfile CardPM
+Quote Post

PennyBoki
RE: Min/max Buttons In MdI Form
11 Apr, 2007 - 09:15 AM
Post #2

system("revolution");
Group Icon

Joined: 11 Dec, 2006
Posts: 2,009



Thanked: 5 times
Dream Kudos: 500
Expert In: Java,C++,C

My Contributions
maybe it's IWnd variable of the type long.

This post has been edited by PennyBoki: 11 Apr, 2007 - 09:28 AM
User is offlineProfile CardPM
+Quote Post

Reply to this topicStart new topic
Time is now: 12/1/08 09:40PM

Live C++ Help!

C++ Tutorials

Reference Sheets

C++ Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month