LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

View Thumbnails in Open Dialog?

Solved!
Go to solution
When you bring up a "open file" dialog, the window automatically comes up in the list view.  Once it's open, I can manually select the thumbnail view, but next time you bring it up it goes back to the list view.  I want this dialog to open with the thumbnail view selected.  Anyone know of a way to do this?
Jeremy Backer
CLAD
0 Kudos
Message 1 of 10
(4,507 Views)

Was already discussed here:

 

[OT: Windows] How to set Browser View Menu to Thumbnail?

 

Hope it helps,

 

Andrey.

 

Message 2 of 10
(4,505 Views)

I read through that, but it didn't really help me.  While I can somewhat follow what's going on in other languages sometimes, I'm really only familiar with LabVIEW, and I wasn't able to understand that link at all.  Making my own will be a monumental task also, because I need to have the ability to do all the things the windows dialog box does.  The thumbnails need to have their name below them, need to be able to click on a thumbnail and open that file, need to be able to type in a file name, and it needs to narrow the file names down according to what you've typed in, just like the windows dialog box does.  This is for a machine being used in a factory, so it needs to be very user-friendly and intuitive.

 

Can anyone explain in LabVIEW terms what I need to do to change the view to thumbnails, like they are in the link?  Thank You.

 

http://msdn.microsoft.com/en-gb/magazine/cc164009.aspx

Jeremy Backer
CLAD
0 Kudos
Message 3 of 10
(4,477 Views)

JMBacker wrote:

I read through that, but it didn't really help me.  ...

 

http://msdn.microsoft.com/en-gb/magazine/cc164009.aspx


Some programming work required here (with WinAPI knowledge).

 

In few words:

 

- call Open Dialog in LabVIEW in one thread -> Dialog appeared.

- get handle to this dialog in another thread (lvwutil32 may be helpful here)

- send message for thumbnail view: SendMessage(WM_COMMAND, ODM_VIEW_THUMBS); 

 

If you a bit lucky, then view will be changed...

 

Unfortunately I haven't "ready for use" solution... Ben, probably you?

 

Andrey.

Message 4 of 10
(4,469 Views)

Andrey Dmitriev wrote:

JMBacker wrote:

I read through that, but it didn't really help me.  ...

 

http://msdn.microsoft.com/en-gb/magazine/cc164009.aspx


Some programming work required here (with WinAPI knowledge).

 

In few words:

 

- call Open Dialog in LabVIEW in one thread -> Dialog appeared.

- get handle to this dialog in another thread (lvwutil32 may be helpful here)

- send message for thumbnail view: SendMessage(WM_COMMAND, ODM_VIEW_THUMBS); 

 

If you a bit lucky, then view will be changed...

 

Unfortunately I haven't "ready for use" solution... Ben, probably you?

 

Andrey.


Not me!

 

When I saw the work involved, I let my customer choose, pictures or substance. They chose substance so no ready made solution.

 

Ben

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 5 of 10
(4,465 Views)

Ben wrote:

 

Not me!

 

When I saw the work involved, I let my customer choose, pictures or substance. They chose substance so no ready made solution.

 

Ben


Ah, all LabVIEW programmers are commonly sooooo lazy... 😉 (me too)

 

Andrey.

0 Kudos
Message 6 of 10
(4,455 Views)
Well thanks for the replies guys.  If I figure something out I'll be sure to come back and post it for all.
Jeremy Backer
CLAD
Message 7 of 10
(4,451 Views)

Andrey Dmitriev wrote:

Ben wrote:

 

Not me!

 

When I saw the work involved, I let my customer choose, pictures or substance. They chose substance so no ready made solution.

 

Ben


Ah, all LabVIEW programmers are commonly sooooo lazy... 😉 (me too)

 

Andrey.


 

Look at it the other way...

 

LV developers are smart (they chose LV) so they use their inteligence to work smarter not harder.

 

Ben

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 8 of 10
(4,448 Views)
Solution
Accepted by topic author JMBacker

Ben wrote:

Andrey Dmitriev wrote:

Ben wrote:

 

Not me!

 

When I saw the work involved, I let my customer choose, pictures or substance. They chose substance so no ready made solution.

 

Ben


Ah, all LabVIEW programmers are commonly sooooo lazy... 😉 (me too)

 

Andrey.


 

Look at it the other way...

 

LV developers are smart (they chose LV) so they use their inteligence to work smarter not harder.

 

Ben


Fully agree! But LabVIEW developers are not only smart, they also able to get things done...

 

Quick and dirty something liike that:

 

Dialog Thumbnail.png

 

LabVIEW 8.6 / WindowsXP. Not sure about Vista / 7. Too lazy to check it.

 

Enjoy!

 

Andrey.

 

Message 9 of 10
(4,414 Views)

Thanks a Million guys, that is working out great.

 

The help I get from this place is amazing, keep up the great work!

 

Jeremy Backer
CLAD
0 Kudos
Message 10 of 10
(4,362 Views)