The Old New Thing

If you're looking for the code that displays a particular dialog box, the most directly way to find it is to look for the dialog box

Suppose you are working in a large or unfamiliar code base and you want to know where the code is that displays a particular dialog box or message box or something. Probably the most direct way of figuring this out is to look for the strings. Say there is a message box that asks for user confirmation. "Are you sure you want to frobulate the ...