glut picking function

glut has provided picking,it works in my program well when window is not maximized but when maximized,no response
tried a lot but could not solve it. moreover i have not seen any problems as such posted in any site.if anybody has such experience please reply…