Hi Wilfried I have added halert to the vc file and the hbmk2 hbm. I do agree with Itamar that perhaps these functions would be better under contrib, but I leave it to your judgment. Thank you. Regards Alex
Hi Actually it needs a few more changes than that. I have attached makefile.vc file after a succesful build. I can't actually link with the lib created. There is a link error with the library which I don't get with the hbmk2 build. I tried to discover what the difference could be but I couldn't see it and gave up. Regards Alex
Hi Wilfried I ran my batch file to run the VC build (attached), and it seems the make file is not correct: d:\dev\hwgui-code>bld_hwgui_vcmake.bat d:\dev\hwgui-code>call "C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\vcvarsall.bat" Setting environment for using Microsoft Visual Studio 2008 x86 tools. Microsoft (R) Program Maintenance Utility Version 9.00.30729.01 Copyright (C) Microsoft Corporation. All rights reserved. NMAKE : fatal error U1073: don't know how to make 'obj/vc\hmisc.o' Stop....
Hi Wilfried I am very happy if you make those changes. I used to use Clip4Win and I guess CenterWindow was part of it (1993!). It agree it would be better if you rewrote it. Regards Alex
Hi Yes Maurizio, you are right, it is sufficient. So Wilfried I guess you can revert that change, thank you. The example I was going to upload is a some code I use to make a nicer MessageBox that tries to emulate the old Clipper alert() with some bells and whistles. You can now see (if you are interested) where I use the id, and now oCtl:id. I attach the code, a header file and a test app. If you like it I would be thrilled to have it in samples. Regards Alex
Pass button id to Click code block
Hi Wilfried This all looks fine with r2833, thank you. Please close. Regards Alex
Hi I just tested with r2833, all compilation went smoothly. Please close. Regards Alex