CAD/CAM discussion forum > CAD > acedGetAcadFrame

acedGetAcadFrame

    
  Subscribe Topic

Rank: 5Rank: 5

begizz

Developers

posts: 12

Registered: 2013-10-15

Message 1 of 3

 acedGetAcadFrame
15-10-2013 01:21 . pm   |   View his/her posts only
Hello,
i have a minor problem.
i'm chanching the title of ZWCAD 2014 with
acedGetAcadFrame()->SetWindowText(tmp);

In 2010+ this worked, but in 2014 it does not anymore.
If i retrieve the value it gets set properly, but the title does not change.
It there a change in the way ZWCAD 2014 works?

Any hits greatly appreciated
Thank You

Rank: 5Rank: 5

begizz

Developers

posts: 12

Registered: 2013-10-15

Message 2 of 3

15-10-2013 03:40 . pm   |   View his/her posts only
Reply 1# begizz

Ok, now i've found out that title is changed in the taskbar icon, but main window still shows the original values.

Any ideas?

Rank: 8Rank: 8

Jenny

Super Moderator

posts: 535

Registered: 2013-5-6

Message 3 of 3

21-10-2013 05:45 . pm   |   View his/her posts only
Reply 2# begizz


hi, this is an known issue, we will fix it in future version. It only happen with ribbon menu, classic menu is OK. (Problem ID: T7963, T7963)


BTW, you can use VB.NET to change title, but it has the same problem for the moment:
  1. Imports ZwSoft.ZwCAD.Runtime
  2. Imports System.Drawing
  3. Imports ZwApp = ZwSoft.ZwCAD.ApplicationServices
  4. Public Class ZwcadApp
  5. <CommandMethod("ChangeWindow")> _
  6. Public Sub ChangeWindow()
  7. Dim MWindow As ZwSoft.ZwCAD.Windows.Window = ZwApp.Application.MainWindow
  8. MWindow.Text = "Just a test!"
  9. MWindow.Icon = New Icon("F:\ficon.ico")
  10. ZwApp.Application.ShowAlertDialog("Done!")
  11. End Sub
  12. End Class
Copy Code
See also
X