This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
LONG lStyle = GetWindowLong(hwnd, GWL_STYLE); | |
lStyle &= ~(WS_CAPTION | WS_THICKFRAME | WS_MINIMIZE | WS_MAXIMIZE | WS_SYSMENU); | |
SetWindowLong(hwnd, GWL_STYLE, lStyle); | |
LONG lExStyle = GetWindowLong(hwnd, GWL_EXSTYLE); | |
lExStyle &= ~(WS_EX_DLGMODALFRAME | WS_EX_CLIENTEDGE | WS_EX_STATICEDGE); | |
SetWindowLong(hwnd, GWL_EXSTYLE, lExStyle); | |
SetWindowPos(hwnd, NULL, 0,0,0,0, SWP_FRAMECHANGED | SWP_NOMOVE | SWP_NOSIZE | SWP_NOZORDER | SWP_NOOWNERZORDER); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class viewWeb; | |
class view{ | |
public: | |
virtual ~view() {} | |
static view* creat(); | |
protected: | |
view() { } | |
}; | |
class viewWeb : public view{ | |
public: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// For UUID | |
#include <Rpc.h> | |
#pragma comment(lib, "Rpcrt4.lib") | |
int _tmain(int argc, _TCHAR* argv[]) | |
{ | |
// Create a new uuid | |
UUID uuid; | |
RPC_STATUS ret_val = ::UuidCreate(&uuid); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <dlfcn.h> | |
void ppp() | |
{ | |
} | |
int main(int argc, const char * argv[]) | |
{ | |
NewerOlder