ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
Forum membership is Free!  Click Join to sign-up
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 C++ Builder 12 64 bit & TImageEnFolderMView & frames
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

AndyThermco

8 Posts

Posted - Apr 01 2024 :  05:00:34  Show Profile  Reply
The attached file contains equivalent C++ Builder 12 and Delphi 12 projects, both building as 64 bits.

The Delphi one is fine, but the C++ Builder one does not display anything in the TImageEnFolderMView when the TImageEnFolderMView control is in a TFrame control.

It makes no difference if I build the C++ app with/without the dynamic runtime and with/without runtime packages.

I have tried calling Refresh on the TImageEnFolderMView but it will not show anything...

If I put an TImageEnFolderMView directly on a C++ Builder form then it works correctly.

attach/AndyThermco/20244145355_frames.zip
82.85 KB

I'm using ImageEn 13.0.0

Any suggestions?

Andy

xequte

38610 Posts

Posted - Apr 05 2024 :  00:41:13  Show Profile  Reply
Hi Andy

As a test, can you confirm whether calling ImageEnMView1.RecreateWnd(); (called after form display) correctly forces the fill?

Nigel
Xequte Software
www.imageen.com
Go to Top of Page

AndyThermco

8 Posts

Posted - Apr 05 2024 :  17:29:46  Show Profile  Reply
Nigel

No, that doesn't work. I've tried calling it both from the OnShow event and in a timer that runs 1 second after the form is displayed.

I'm working around it by not using a frame but using a form with a TPanel containing the TImageEnMView and assigning the TPanel's parent to the target form - that works OK, it's just weird that the Frame version doesn't work.


Andy
Go to Top of Page

xequte

38610 Posts

Posted - Apr 05 2024 :  20:47:13  Show Profile  Reply
Hi Andy

That's odd.

You might want to email me for a beta. I've made RefreshFileList() explicitly initialize the controls (assuming it has a handle).

Nigel
Xequte Software
www.imageen.com
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: