Path: news.cs.au.dk!not-for-mail From: "Sascha Kimmel" Newsgroups: comp.lang.beta Subject: MB_YESNOCANCEL, MB_YESNO, MB_RETRYCANCEL ... Date: 1 Mar 1999 09:34:51 -0000 Organization: University of Aarhus, Department of Computer Science (DAIMI) Lines: 30 Approved: mailtonews@cs.au.dk Distribution: world Message-ID: <19990301093451.1650.qmail@noatun.mjolner.dk> Reply-To: "Sascha Kimmel" NNTP-Posting-Host: daimi.cs.au.dk X-Trace: xinwen.cs.au.dk 920280893 14393 255.255.255.255 (1 Mar 1999 09:34:53 GMT) X-Complaints-To: news@cs.au.dk NNTP-Posting-Date: 1 Mar 1999 09:34:53 GMT Xref: news.cs.au.dk comp.lang.beta:11846 Hi! When I want to implement the WINAPI fucntions/Windows MB_YESNOCANCEL, MB_YESNO, MB_RETRYCANCEL, MB_OKCANCEL, MB_ABORTRETRYIGNORE I have a problem. I don't know where to implement the functions instead of inserting some code into stddialogs_ntibody and stddialogs. I want to use the "real" WINAPI functions/windows because then there are no translations necessary and I don't have to do double work - if Microsoft has already implemented these windows, why not call them? As you might already have guessed I also want to know which button was clicked by the user. And could someone please explain how to implement certain WINAPI functions like the following one in BETA? BOOL GetUserName( LPTSTR lpBuffer, // address of name buffer LPDWORD nSize // address of size of name buffer ); My problem is that I don't know how to get the address of a variable. Adresses and addresses.. well, yes, it's C :) Any help is appreciated, thank you in advance. Regards, S. Kimmel