Dear Antonio,
I saw there is an Microsoft function MESSAGEBOXEX to recrate box message gradient ( office style 2007)
I saw on a guide MessageBoxEx and MessageBox work the same way
int MessageBoxEx( HWND hWnd,
LPCTSTR lpText,
LPCTSTR lpCaption,
UINT uType,
WORD wLanguageId
);
I think if we modifiy all the source code MSG.c we c an have the box with this style
it is possible ?
MSGBOX
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
I found this code
Code: Select all
#include <9pm/windows.h>
#include <9pm/u.h>
#include <9pm/libc.h>
int WINAPI
MessageBoxEx(HWND hWnd, LPCWSTR lpText, LPCWSTR lpCaption, UINT uType, WORD wLanguageId)
{
/* MessageBoxW implement on Windows 95 */
return MessageBoxExW(hWnd, lpText, lpCaption, uType, wLanguageId);
}
Best Regards, Saludos
Falconi Silvio
Falconi Silvio
Antonio,
see http://msdn2.microsoft.com/en-us/library/ms645507.aspx
If I make it
it is correct ?
see http://msdn2.microsoft.com/en-us/library/ms645507.aspx
If I make it
Code: Select all
function MessageBox( cText, cCaption, nType )
return MessageBoxEx( GetActiveWindow(), cText, cCaption, nType, nil )
dll32 static function MessageBoxEx( hWnd AS LONG,;
lpText AS STRING,;
lpCaption AS STRING,;
uType AS LONG, wLanguageId AS LONG ) ;
AS LONG PASCAL FROM "MessageBoxExA" LIB "User32.dll"
it is correct ?
Best Regards, Saludos
Falconi Silvio
Falconi Silvio
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
- nageswaragunupudi
- Posts: 8017
- Joined: Sun Nov 19, 2006 5:22 am
- Location: India
- Contact:
-
- Posts: 824
- Joined: Thu Oct 13, 2005 7:39 am
- Location: Germany