NASM - The Netwide Assembler
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Home
Help
Search
Calendar
Login
Register
NASM - The Netwide Assembler
»
NASM Forum
»
Programming with NASM
»
windows 32 bit user input
« previous
next »
Print
Pages: [
1
]
Author
Topic: windows 32 bit user input (Read 13980 times)
william427
Jr. Member
Posts: 23
windows 32 bit user input
«
on:
July 28, 2014, 06:24:10 PM »
hey is it possible to get user input from a messagebox ?
ive been looking all day for examples in windows,im looking at msdn there so much stuff up there,what do I have to look up
for getting user input?
thanks
Logged
gammac
Jr. Member
Posts: 71
Country:
Re: windows 32 bit user input
«
Reply #1 on:
July 28, 2014, 07:16:54 PM »
Quote from: william427 on July 28, 2014, 06:24:10 PM
hey is it possible to get user input from a messagebox ?
No, you have to get familiar with Dialog Boxes.
http://msdn.microsoft.com/en-us/library/windows/desktop/ms644996%28v=vs.85%29.aspx
Logged
Please comment your code! It helps to help you.
william427
Jr. Member
Posts: 23
Re: windows 32 bit user input
«
Reply #2 on:
July 29, 2014, 02:50:04 PM »
but Dialog Boxes use buttons , I need to type in and then get answer .
Logged
gammac
Jr. Member
Posts: 71
Country:
Re: windows 32 bit user input
«
Reply #3 on:
July 29, 2014, 03:25:51 PM »
Dialog Boxes can contain all types of controls not only buttons. You have to build your own Dialog Box with an Edit Control (
http://msdn.microsoft.com/en-us/library/windows/desktop/bb775458%28v=vs.85%29.aspx
). There isn't a predefined Dialog called 'InputBox'.
It seems to me that you need a win32 assembly programming tutorial. There are many, it's simple to find them with your favourite search engine. But I'am sorry, I do not know one that's based on NASM.
«
Last Edit: July 29, 2014, 03:31:55 PM by gammac
»
Logged
Please comment your code! It helps to help you.
Rob Neff
Forum Moderator
Full Member
Posts: 429
Country:
Re: windows 32 bit user input
«
Reply #4 on:
July 29, 2014, 03:37:44 PM »
Although not a tutorial, per se, the NASMX package contains commented examples which include creation and use of dialog boxes which are located in the demos directory. It should be easy to take an example and modify it to your liking.
Logged
william427
Jr. Member
Posts: 23
Re: windows 32 bit user input
«
Reply #5 on:
July 29, 2014, 03:45:01 PM »
thanks ill look into nasmx package ,
I never could understand much from msdn , that's one of my problems I guess.
most all samples are in masm that ive found ,will keep reading.
thanks all
Logged
Print
Pages: [
1
]
« previous
next »
NASM - The Netwide Assembler
»
NASM Forum
»
Programming with NASM
»
windows 32 bit user input