HexEdit/PrevwView.cpp
void CPrevwView::OnUpdate(CView* pSender, LPARAM lHint, CObject* pHint)
{
	if (pHint == NULL)
		return;

	if (pHint->IsKindOf(RUNTIME_CLASS(CBGPreviewHint)))
	{
		validate_display();
		Invalidate();
		phev_->show_prop();
	}
}
// OnUpdate is called when the document changes
// - here we just use the CBGPreviewHint which indicates the preview bitmap has finished loading

OnUpdate is called when the document changes
here we just use the CBGPreviewHint which indicates the preview bitmap has finished loading
OnUpdate is called when the document changes here we just use the CBGPreviewHint which indicates the preview bitmap has finished loading
void CPrevwView::OnUpdate(CView* pSender, LPARAM lHint, CObject* pHint)
{
	if (pHint == NULL)
		return;
	if (pHint->IsKindOf(RUNTIME_CLASS(CBGPreviewHint)))
	{
		validate_display();
		Invalidate();
		phev_->show_prop();
	}
}
void CPrevwView :: OnUpdate ( CView * pSender , LPARAM lHint , CObject * pHint ) { if ( pHint == NULL ) return ; if ( pHint -> IsKindOf ( RUNTIME_CLASS ( CBGPreviewHint ) ) ) { validate_display ( ) ; Invalidate ( ) ; phev_ -> show_prop ( ) ; } }
OnUpdate is called when the document changes
 here we just use the CBGPreviewHint which indicates the preview bitmap has finished loading
OnUpdate is called when the document changes here we just use the CBGPreviewHint which indicates the preview bitmap has finished loading