calenna 0 Newbie Poster

i have a dialog box with a grid attached to it. No matter what I do, this dialog doesn't have focus untill after its been clicked on. In order to click on a button you have to click twice. The box is active, it just doesn't seem to have focus for some reason. I've run out of ideas. Anyone have any?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.