@13lacIe , Thank you for pointed out the real reason that the AcFocus control stops working or does not work. Yes it is cause the by MS office's security setting that disable Activex Control, which is a MS Office feature existing long ago before MS Office 365 made it as default setting in 2025. Since I always used stand-alone MS Office suite, thus this has no impact for me to try/verify that AcFocus control has always worked with my AutoCAD of all versions/all computers.
Let me try to give the situation a summary to what I/we know so far:
1. In the era of AutoCAD used 32-VBA (There was a period of time when AutoCAD had both 32 and 64 bit version, AutoCAD' VBA is 32-bit ONLY, because MS refused to make 64-bit VBA available not only to third paties, including Autodesk, but also it self's Office apps, until MS found out they had to provide 64-bit VBA for widely used Office Suite, especially for Excel), the activeX control to be used with modeless form in AutoCAD is AcFocusCtrl.dll, which is 32-bit version. Since Autodesk stopped its 32-bit version, and later moved its VBA to 64-bit version, that 32-bit AcFucusCtrl.dll is gone. The 64-bit replacement is AcFocusCtrl16.dll, which sits in C:\Program Files\Common Files\Autodesk Shared\ folder.
So, if one has a VBA project that was built on 32-bit VBA, and used AcFocusCtrl.dll, the VBA project would not work with later AutoCAD because the VBA is now 64-bit. In this case, one can simply open the old VBA project and replace it with the acFocus control from AcFocusCtrl16.dll. Then the VBA project should be back working, assume there is no other 32-bit component used.
2. The MS Office security impact. Yes, "Disbale all ActiveX controls" is the one preventing AcFocus working with AutoCAD VBA. It is an unfortunate move for MS to plug possible security hole with widely used Office VBA apps, but Autodesk simply ignore its possible impact to its VBA users, or simply not even paid attention at all. If one installed MS Office 365, this "Disable..." is default. If the MS office is a standalone suite, or installed quite earlier, the "Disable..." setting is not in effect unless one goes to MS Office App->Options->Trust Center Settings..." to explicitly enable it.
The impact to AutoCAD VBA's modeless UI is like this:
a. A VBA project with modeless UserForm suddenly stops working. If open the VBA in VBA IDE, there is no AcFocus control sitting on the UserForm (however, the AcFocus control may still presented on ToolBox, or right-click the toolbox and select "Additional Controls..." and the AcFocus control is still listed). One can close AutoCAD session, go to MS Office app and uncheck the option of "Disable all ActiveX controls..."; come back to AutoCAD and run the VBA project to see the modelss UserForm's focusing comes back.
So, when one is creating a new VBA macro in AutoCAD and wants to add AcFocus to a UserForm, even the AcFocus control is available on the ToolBox, it simply cannot be drag-dropped onto the UserForm, if the "Disable all..." is enabled.
Again, this is only meant for the situations where someone who has a working VBA projects with modeless UI, and suddenly find it stopped working. At this point, it makes little sense to build new VBA project with this known hassle, IMO.