3 ms·
GetOpenFileName is mentioned in the article as being the deprecated API that opens the old common dialog boxes. The first sentence in the documentation you link
by quietbritishjim 8y ago
GetOpenFileName is mentioned in the article as being the deprecated API that opens the old common dialog boxes. The first sentence in the documentation you linked to says to use the new COM API instead.
- userbinator 8y agoYes, and upon clicking to the new COM API page, you are presented with the 11-deep nested if() "Basic Usage" monstrosity whose screenshot is also in the article. I bet a lot of programmers just said "lol no. 'deprecated' my arse." and stayed with GetOpenFileName, as I did. MS isn't going to break countless apps by removing it.