Dear All, "Error in creating dialog". I tried to use the class using resource and that error appeared. Does anyone has a sample using resource. please post it. BTW, here's my resource declaration: DLG_MAIN DIALOGEX -2,-16,387,255 FONT 8,"MS Sans Serif",0,0,0 STYLE WS_POPUP|WS_VIS...