这样的话就出错了
error C2440: “=”: 无法从“void **”转换为“void (__cdecl *)(HWND,UINT,WPARAM,LPARAM)”
void (*TypeProcess[255])( HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam ); BYTE TypeProIndex;
BYTE TEMP;
};void Control::RegisterCtrlPro( void *TypeProg)
{
//void *tem = TypeProg;
TypeProcess[TypeProIndex] = &TypeProg;
}