Hi, please tell me how to disable this menu, or its items when you click on the dialog box?
Announcement
Collapse
No announcement yet.
Disable window menu
Collapse
X
-
Hang on a sec - in the first place, why on earth would u want to eliminate a user's ability to exit a DialogEx window?
Conceivably, I guess there might be a good reason that's not coming to mind right now. In any case, if this is what u want, why not just set the DialogEx window to be bordered or flat from its Properties selection?
Nb. Also, when posting requests, please make sure everything is in English. Most of us don't read Cyrillic. This is an english-speaking forum - unprogressive as that might be.
- Likes 1
-
Comment
-
Originally posted by ctaty3 View PostThe fact is that I'm interested in the window system style in AMC. ...
Can anyone translate for me?
Could u be a little more vague for us? Our mind-reading skills are way too sharp for such lingo-specific references.
Come on, man You asked for help. How about a bit of basic communication etiquette?
Comment
-
Sorry for my English... I'm just Russian.
In general, I'm interested in how to disable the system menu in any window in AMS?
While I came up with a cunning solution:
function DialogEx.DisableResizeMenuItems()
WinApi.SetWindowLong(DialogEx.GetWndHandle(), "-20", "0x00000100|0x00020000", false);
end
Comment
-
Originally posted by ctaty3 View PostSorry for my English... I'm just Russian.
Sigh ... whatever.
Yes, the WinApi plugin is capable of many things. But given you already have a solution, why not just say so?
If you're looking for ways to do this via the Windows Api directly (ie. without the plugin) - as already suggested, look into the functions embedded in the user32.dll.
Comment
-
Edit,
Full list of exported functions of user32.dll is attached.
Relevant functions are listed below:
Attached Files
- Likes 1
Comment
-
But like we said this option isn't anything to do with AMS so you do have to use the WinAPI or the user32 dll, as you have to tell windows to stop doing what it's doing for that windows, but yes if you have already found the option you needed why didn't you say hay this is the option I found, any better options, and once again WinAPI and user32 dll are mostly the best options out there.
Comment
Comment